link tags do not close when not in XHTML mode