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

Owner: Nobody in particular
Requestors: jnareb [...]

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

Subject: Use XHTML-compatibile <br /> instead of <br>
Download (untitled) / with headers
text/plain 669b
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: Line Number nn, Column 23: </a> ----------------------^ Plack-Middleware-Debug-0.07 Plack-0.9929 -- Jakub Narebski

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to