Skip Menu |

This queue is for tickets about the HTML-Tree CPAN distribution.

Report information
The Basics
Id: 94311
Status: open
Priority: 0/
Queue: HTML-Tree

Owner: Jeff.Fearn [...]
Requestors: tomaz.solc [...]

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

Subject: Patch: as_XML() inserts extra whitespace in comments
Download (untitled) / with headers
text/plain 280b
Hi as_XML() method inserts two extra space characters at the start and end of each comment. If you do many round-trips between HTML::TreeBuilder and as_XML(), this accumulated whitespace can cause problems. Attached patch fixes this problem and adds a test case. Thanks Tomaž
Subject: fix-spacing-in-comments
Download fix-spacing-in-comments
application/octet-stream 1.2k

Message body not shown because it is not plain text.

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

Please report any issues with to