Thanks for looking in to that. After fiddling with it for a while, I removed the following from the <html> tag, and the closing tags problem went away:
xmlns="http://www.w3.org/1999/xhtml"
Unfortunately, none of my CDATA sections are being rendered correctly now, so I'll need to find a different solution. I have no idea why that attribute works fine in the "Venus" set of templates when using 4.3 out-of-the-box but makes my code have extra links. Weird.
Anyway, I'll update if I find a solution.
xmlns="http://www.w3.org/1999/xhtml"
Unfortunately, none of my CDATA sections are being rendered correctly now, so I'll need to find a different solution. I have no idea why that attribute works fine in the "Venus" set of templates when using 4.3 out-of-the-box but makes my code have extra links. Weird.
Anyway, I'll update if I find a solution.