Hi,
I just discovered something interesting. If you have the body of a web page in the editor, and want to make the page blank but not lose the source code, the obvious way to do it is add html comment tags around the entire source code. However, when you do that, it makes all of the code disappear. If you go back into Source view after doing that, there is nothing. If you have another tag around the coment tags, <p> for example, all the code stays there. Just thought it was a bit odd how it did that. Anyone else come across this? Any ideas on how to make it stop?
Example,
Original code:
<p>
<h1>Bla</h1>
Bla bla bla
Bla bla bla
Bla bla bla
Bla bla bla
</p>
Comments like this, and the code completely disappears from the source.
<!--
<p>
<h1>Bla</h1>
Bla bla bla
Bla bla bla
Bla bla bla
Bla bla bla
</p>
-->
Comments like this, and the code stays there.
<p>
<!--
<h1>Bla</h1>
Bla bla bla
Bla bla bla
Bla bla bla
Bla bla bla
-->
</p>
I just discovered something interesting. If you have the body of a web page in the editor, and want to make the page blank but not lose the source code, the obvious way to do it is add html comment tags around the entire source code. However, when you do that, it makes all of the code disappear. If you go back into Source view after doing that, there is nothing. If you have another tag around the coment tags, <p> for example, all the code stays there. Just thought it was a bit odd how it did that. Anyone else come across this? Any ideas on how to make it stop?
Example,
Original code:
<p>
<h1>Bla</h1>
Bla bla bla
Bla bla bla
Bla bla bla
Bla bla bla
</p>
Comments like this, and the code completely disappears from the source.
<!--
<p>
<h1>Bla</h1>
Bla bla bla
Bla bla bla
Bla bla bla
Bla bla bla
</p>
-->
Comments like this, and the code stays there.
<p>
<!--
<h1>Bla</h1>
Bla bla bla
Bla bla bla
Bla bla bla
Bla bla bla
-->
</p>