Closed (won't fix)
Project:
http:BL
Version:
5.x-2.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
25 Jul 2008 at 19:54 UTC
Updated:
6 Sep 2009 at 20:38 UTC
Hi,
Firstly, well done on an excellent module. I would not be with out it.
I have been having issues validating my site to XHTML 1.0 and it would appear to be the HTTPBL module breaking it. The error I get when validating is:
Line 277, Column 116: document type does not allow element "div" here; missing one of "object", "ins", "del", "map", "button" start-tag.
…<div style="height: 0px; width: 0px;"></div></a></div><script type="text/java
When I ahve looked at the code generated I see:
<div>
<a href="http://thatchamhistoricalsociety.org.uk/twopiecestraightawa.php">
<div style="height: 0px; width: 0px;">
</div>
</a>
</div>
I note that there is a 'div' inside an 'a', which I do not believe is allowed under XHTML. the 'a' tags should be inside div tags but not the otherway around. Any chance of a fix for this?
Regards,
Nick
Comments
Comment #1
praseodym commentedThe problem is caused by the random honeypot footer; it has a bunch of quite creative methods (copied straightly from Project Honeypot) to include a link which is not displayed but should be followed by bots. An empty anchor-tag might not be followed by bots, while this one has a higher chance of success.
I'll review all the link methods to see if they're valid; I hope to fix this in next week or so.
Comment #2
praseodym commented5.x is unmaintained, 6.x should validate XHTML fine.