I am cleaning up html code for a site and ran into this issue.
If I have indented code with tabs so that it looks organized, and I insert the [*content*] tag, then I run into indent problems. I think I have the same issue when inserting chunks as well.
Ex: In template I am trying to indent like this:
<body>
<div id="container">
<div id="page">
[*content*]
</div>
</div>
</body>
When I insert the [*content*] tag, I want it to stay indented inside the page div so it looks neat. What happens is that the line breaks in my document content cause the source code to shift back to the beginning of the line.
ex...Document content (Not using any Rich editor):
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean nec velit eget augue sodales cursus. Cras quis dui. Quisque eget ipsum ullamcorper arcu convallis venenatis. Cras orci sem, vulputate id, sollicitudin in, fermentum bibendum, magna. Sed volutpat. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam metus orci, auctor nec, pellentesque sed, pretium vitae, augue. Nunc commodo vehicula tortor. Integer auctor sem ut tellus. Phasellus sodales, arcu ac gravida accumsan, nibh nisi tincidunt tellus, vel blandit est nisi sit amet risus. Sed laoreet mattis libero. Proin sit amet felis. </p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum viverra elit. Donec et sapien. Duis massa. Sed id neque. Morbi sit amet eros sed diam suscipit elementum. Curabitur dapibus nisl. Donec tincidunt urna non elit. Sed eros nunc, mattis id, mattis varius, scelerisque vel, nulla. Nunc et nibh eu diam luctus tincidunt. Donec non orci non nisl tempor luctus. Proin pellentesque, nisi vitae tristique auctor, libero nunc faucibus leo, nec semper mi velit sit amet leo. Donec justo odio, tincidunt a, placerat convallis, hendrerit in, sem. Donec vestibulum ante eget nibh. </p>
The code is inserted where the [*content*] tag is and flows as desired right until the second <p>. At that point it loses all indents and starts back at the beginning of the next line.
How can I fix it? I assume that if i remove all line breaks in the document content it would render like I want but then I would have a jumbled paragraph mess to decipher when looking at the document content window.