Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-10-31 16:40:29

whsjr86
Member
From: Providence, RI
Registered: 2007-10-03
Posts: 17
Website

Tags being parsed in a browser

Hello,
My problem is that TXP is trying to hide publishing information on an article of mine and in Fire Fox the “—>” shows up twice on the page, which is weird, but it does not do this in IE. Any explanation or fix for this would be greatly appreciated!

http://www.twoplusonedesign.com/textpattern/home/first-post

Thanks,
Hunter

Offline

#2 2007-10-31 18:04:37

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Tags being parsed in a browser

Your HTML code contains this:

<!--
<p>— Hunter Satterwhite</p>
<div class="divider"><img src="http://www.twoplusonedesign.com/textpattern/images/1.gif" width="400" height="1" alt="---" title="" /></div>-->

The problem is that the ALT text for the image contains two consecutive dashes. When inside a HTML comment, two consecutive dashes signify the end of the comment (two more dashes later on would begin the comment again).

<!-- comment -- no comment -- comment again -->

Try replacing alt="---" with alt="- - -".

And validate your HTML code

Last edited by ruud (2007-10-31 18:12:28)

Offline

#3 2007-11-05 17:18:23

whsjr86
Member
From: Providence, RI
Registered: 2007-10-03
Posts: 17
Website

Re: Tags being parsed in a browser

Ah! Such an amateur mistake! Thanks again for pointing that out for me, I truly appreciate it! Take care and happy TXP’ing!

-Hunter

Offline

Board footer

Powered by FluxBB