Possible Duplicate:
Unbalanced blank lines after inline HTML comments might break formatting
In this post: Formatting Sandbox the preview shows code (stuff indented 4 spaces), while the regular page does not. Here's the text of the post (originally from a question I was editing on SO):
i wrote sending email function that only work my debug mode(debug local server) when i publishing and hosting C# code that function not work. this my email configuration function
<!-- language: lang-xml -->
<configuration>
<system.net>
<mailSettings>
<smtp from="[email protected]">
<network host="smtp.XXXXX.com" port="25"
userName="[email protected]" password="XXXXX" />
</smtp>
</mailSettings>
</system.net>
<appSettings/>
<connectionStrings/>
<system.web>
I discovered that if I put a blank line after the "language" comment then everything works.
It looks like this is maybe the issue reported at Unbalanced blank lines after inline HTML comments might break formatting