Directory listings with FancyIndexing use XHTML syntax in an HTML document: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> ... <img src="/icons/text.gif" alt="[TXT]" /> ... <hr /> In HTML, "<hr />" is actually equivalent to "<hr>>" (note the extra ">"). It's only in XHTML where the slash is used with empty elements. For details on empty elements in HTML vs. XHTML, see http://www.cs.tut.fi/~jkorpela/html/empty.html To fix the problem, don't use the slash in empty elements in HTML: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> ... <img src="/icons/text.gif" alt="[TXT]"> ... <hr>
Created attachment 8539 [details] Patch to use HTML syntax for empty elements
Quick note until someone picks it up. We need an option for switching behaviour, because people may use (and do use) their own declaration. Thanks for your report!
Fixed the issue in 2.1 and proposed for backport into the 2.0 branch. Thanks!