Is Blogspot serving invalid XHTML?
November 5, 2005 11:14 AM
Subscribe
Blogspot automagically codes line breaks in XHTML form, so I'm trying to get my site to validate as XHTML 1.0. Parts of it fail to validate, but they're all parts that expand from strings in the Blogger template. What am I doing wrong? How do I get these parts to validate?
Going to
the validation results for my page you can see that the same errors present themselves over and over:
there is no attribute "location.href".
an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified.
NET-enabling start-tag not immediately followed by null end-tag.
end tag for element "a" which is not open.
These all expand from this part of the template:
<MainOrArchivePage><BlogItemCommentsEnabled><a href="<$BlogItemCommentCreate$>" <$BlogItemCommentFormOnclick$>><$BlogItemCommentCount$> comments</a></BlogItemCommentsEnabled> |
which is, in turn, the part that puts the number of comments between the permalink and the linkbacks on each entry.
Is there anything I can do to get this part to expand to something that's valid XHTML?
I'm not finding any solutions in my searches, though I'm quite likely using all the wrong terms. And I've written Blogger support, but I've written them before and I know how that goes: you might as well write it out, roll up the paper, tuck it into a bottle, and toss it into the sea.
posted by Tuwa to computers & internet (6 comments total)
posted by riffola at 11:18 AM on November 5, 2005