Download & Extend

Not validate HTML when links are disabled

Project:Democratica
Version:4.5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Don't know if this should be posted here, or PHPTemplate engine, so I'm trying here. When no primary, or secondary links are used, and I don't want display them, code will produce not valid HTML:

..in file attached...

This is not good - from validator.w3.org: Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, head generally requires a title, lists (ul, ol, dl) require list items (li, or dt, dd), and so on.

(doesnt know how post HTML,m so I attached it to file...)

AttachmentSize
bug.txt98 bytes