When using formating tags to format an article properly, the teaser of the article can cut off a tag pair before the tag is closed. This will break the overall XHTML1.0 Strict validation.

Work Around - Use the

to signify within your article where you want the teaser to stop, manually verifying that all tags are closed prior to submission.

Suggestion - Have teaser portion run a quick verify for closing tags at it's cutoff, and if there are any missing closing tags to either close them automatically or push the breakpoint to after the closing tag.

Using 9/1/2006 CVS drupal 5.0

Comments

grymwulf’s picture

Can't edit my own issue...

Seems when I added the < ! --break-- > the post took that as the actual breakpoint for the teaser....

grymwulf’s picture

Okay previous follow up also exhibited same behavior. hmmm

Okay - you need to use !--break-- (with appropriate greater than and less than signs)

beginner’s picture

Version: x.y.z » 6.x-dev

To reproduce in core. Create a node with a long list

<ul>
<li>Some text here</li>
<li>Some text here</li>
<li>Some text here</li>
<li>Some text here</li>
<li>Some text here</li>
<li>Some text here</li>
<li>Some text here</li>
<li>Some text here</li>
<li>Some text here</li>
<li>Some text here</li>
<li>Some text here</li>
<li>etc...</li>
</ul>

make the node sticky, published at the front page. See the source of the page: the closing </ul> is stripped, causing invalid html.

beginner’s picture

http://drupal.org/node/159852 is a duplicate of this issue.

webernet’s picture

Status: Active » Closed (duplicate)
yched’s picture

And this should be fixed in D6 with the inclusion of HTMLcorrector.
Anyway, I can't reproduce with current HEAD