Html formatting after page saved lost

Topics: Administration, Core, General, Troubleshooting
Mar 30, 2014 at 5:34 AM
Edited Mar 30, 2014 at 5:34 AM
Hello,
I creating page in html editor and later insert html code into the page. Then after page saved, if I try to edit page in internal html editor it looks very bad. All formatting, indentation are lost so it's very difficult to find something or modify existing html code, especially if the html is very big.

Is it possible to do something to keep original html formattng?

Thanks.
Developer
Mar 31, 2014 at 11:34 PM
Does the code look like it is being Html Encoded?

I know we recently upgraded the version of TinyMCE - So that might help? its on the 1.7.x and the 1.x branch
Apr 1, 2014 at 1:23 AM
Edited Apr 1, 2014 at 1:25 AM
probably I explained it wrong.
I just telling then html code like this
<div>
    <span>text<span>
</div>
will became this
<div>
<span>text</span>
</div>
There is no indentation
Apr 1, 2014 at 9:41 AM
I would say that you are lucky to have only lost identation....
Apr 1, 2014 at 1:44 PM
some <span> empty but with class are removed
https://orchard.codeplex.com/workitem/19764