Template loses code

If you want to report a bug.
dennishays
Posts: 8
Joined: 23.07.2007 18:16

Template loses code

Postby dennishays » 28.08.2007 18:27

Johannes,

There is a bug with the templates. I created a custom template that looks like this:

<p> </p>
<p><small><strong>Source and Read More</strong></small>:<strong>&nbsp;</strong></p>
<p><font face="Verdana" size="2"><font color="red"><strong>"All the imaging news, all the time."</strong></font> <a href="http://www.photonewstoday.com"><font color="#006000"><strong>Photo News Today</strong></font></a></font><!--adsense#inline2--></p>

Note on the third line the code snippet: <strong>&nbsp;</strong>

I have tried this with both (ampersand pound 160 semi-colon) and &nbsp; and get the same results. I create the template and save it--making it my default. Then I create a blog entry and, during the composition, press F5 to look at the code or tweak something and notice the <strong>&nbsp;</strong> is missing. The template now looks like this:

<p> </p>
<p><small><strong>Source and Read More</strong></small>:</p>
<p><font face="Verdana" size="2"><font color="red"><strong>"All the imaging news, all the time."</strong></font> <a href="http://www.photonewstoday.com"><font color="#006000"><strong>Photo News Today</strong></font></a></font><!--adsense#inline2--></p>

I can see the same thing when I replace the template, or make a new one, and press F5 after saving it.

However, I can use the template just fine from entry to entry, as long as I don't look at the code with F5. If I do, BlogDesk loses that particular snippet. But the next entry is okay (as long as I don't press F5).

Best,

Dennis

Johannes
BlogDesk
Posts: 553
Joined: 19.08.2005 20:29

Postby Johannes » 28.08.2007 22:36

Ok, I'll take a look at this.


Return to “Bugs & Problems”