In jquery, if I enter the following code, the error:
variavel.append('<div class="qualquer">
<div class="subdivs">
conteudo da subdiv
</div>
<div class="subdivs">
conteudo da subdiv
</div>
</div>
');
But if I put the same code without a line break, it will no longer be an error:
variavel.append('<div class="qualquer"><div class="subdivs">conteudo da subdiv</div><div class="subdivs">conteudo da subdiv</div></div>');
My question is
How to avoid this error caused by the line break? Is there a "proxy" pro append so I can insert code with line break?
I am trying to learn more about JQuery so I do not know the means to do such a thing!