Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Plack-Middleware-Debug CPAN distribution.

Report information
The Basics
Id: 57084
Status: new
Priority: 0/
Queue: Plack-Middleware-Debug

People
Owner: Nobody in particular
Requestors: jnareb [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.07
Fixed in: (no value)



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