Subject: | Use XHTML-compatibile <br /> instead of <br> |
Plack::Middleware::Debug does not control DTD and content-type of the
page. When Content-Type (in HTTP headers) is application/xhtml+xml, and
DTD is of XHMTL 1.0, some web browsers require strict XML compliance.
This for example means that each open tag must be closed, including "no
content" tags like '<br>'. Plack::Middleware::Debug should use safe
'<br />' instead of currently used '<br>', otherwise web browser gets
error message like this:
XML Parsing Error: mismatched tag. Expected: </br>.
Location: http://127.0.0.1/
Line Number nn, Column 23:
</a>
----------------------^
Plack-Middleware-Debug-0.07
Plack-0.9929
--
Jakub Narebski