Situation: I have a textarea
element that has a default text, which can then be changed by the user. Text has multiple lines.
Problem: The text takes into account the indentation spaces of the source code.
Pseudo-code:
<html>
<body>
<textarea>Olá,
Isto é um teste.</textarea>
</body>
</html>
When rendering the page, the text inside the textarea
element looks like this:
Hello,
This is a test.
Is there any way to avoid this?