Akismet plugin is borking the code
-
OK, so i try to validate the code on my site using w3.org. There are 68 errors and i am trying to work through them all. Akismet seems to give some errors that i can not figure out how to fix. Here is the output from w3.org on the akismet plugin:
# Error Line 223, column 171: document type does not allow element “div” here; missing one of “object”, “applet”, “map”, “iframe”, “button”, “ins”, “del” start-tag ....nd/akismet.com');"><div id="akismet1">><span id="akismetcount">>2,374</
The mentioned element is not allowed to appear in the context in which you’ve placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you’ve forgotten to close a previous element.
One possible cause for this message is that you have attempted to put a block-level element (such as “<p>” or “<table>”) inside an inline element (such as ““, “<span>”, or “<font>”).
?
# Error Line 223, column 283: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag ....ments</span></div> <div id="akismet2"><span id="akismetbb">blocked by</span><
You can see that i have tried the “>>” after the “>” but this does nothing. So my questions is why does akismet give these errors and how can i fix them?
- The topic ‘Akismet plugin is borking the code’ is closed to new replies.