Closed tags for XHTML galleries

Ideas for improvements and requests for new features in XnView Classic

Moderators: XnTriq, helmut, xnview

User avatar
Moderator & Librarian
Posts: 6320
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Closed tags for XHTML galleries

Post by XnTriq »

The line breaks in the text field of Show information (Create » Web Page... » Information displayed) are exported as <br>.
Olive ([url=]RC6: Web template tweaks[/url]) wrote:XHTML instead of HTML: The problem is that XnView use <br> as linebreaks between THUMB_TEXT items, whereas XHTML requires <br />. So it's basically impossible to generate a valid XHTML, even a transitional one.
In order to generate standards-compliant/valid output for templates with XHTML doctypes, tags have to be closed (i.e. <br />).