Skip Menu |
 

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

Maintainer(s)' notes

Module's documentation has several ideas of what can be improved. Code is quite simple, but it's mostly C/XS. At least one task requires just Perl experience - would love to see tests without any additional code covering the following aspects and most probably discovering problems:

Report information
The Basics
Id: 125227
Status: resolved
Priority: 0/
Queue: HTML-Gumbo

People
Owner: Nobody in particular
Requestors: BPS [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.17
Fixed in: (no value)



Subject: When parsing, some URL encoded values become decoded
Download (untitled) / with headers
text/plain 1.9k
In the example below, this line: &lt;p id=&quot;time&quot;&gt;&lt;span&gt;Time to display: Is converted to this line in the parsed output: &lt;p id="time"&gt;<span&gt;Time to display: The quotes and one less than are decoded, but most of the other values are passed through as expected. The expected behavior is the encoded values should remain encoded in the parsed output. [71141] [Fri Apr 27 14:44:41 2018] [warning]: Content is: test <table border="1" cellpadding="1" cellspacing="1" style="width:500px"> <tbody> <tr> <td> <pre> <span style="font-family:courier new,courier,monospace">&lt;div id=&quot;footer&quot; title=&quot;Best Practical Solutions, LLC, copyright and logo&quot;&gt; &lt;p id=&quot;time&quot;&gt;&lt;span&gt;Time to display: 0.25442&lt;/span&gt;&lt;/p&gt; &lt;p id=&quot;bpscredits&quot;&gt;&lt;span&gt;&amp;#187;&amp;#124;&amp;#171; RT 4.4.2 Copyright 1996-2017 &lt;a href=&quot;http://www.bestpractical.com?rt=4.4.2&quot;&gt;Best Practical Solutions, LLC&lt;/a&gt;. &lt;/span&gt;&lt;/p&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt;</span></pre> </td> </tr> </tbody> </table> (/Users/jbrandt/rts/rt442/share/html/Elements/ShowTransactionAttachments:190) [71141] [Fri Apr 27 14:44:41 2018] [warning]: Gumbo output is: <html><head></head><body>test <table border="1" cellpadding="1" cellspacing="1" style="width:500px"> <tbody> <tr> <td> <pre> <span style="font-family:courier new,courier,monospace">&lt;div id="footer" title="Best Practical Solutions, LLC, copyright and logo"&gt; &lt;p id="time"&gt;<span&gt;Time to display: 0.25442&lt;/span&gt;</p&gt; &lt;p id="bpscredits"&gt;<span&gt;&#187;&amp;#124;&amp;#171; RT 4.4.2 Copyright 1996-2017 &lt;a href="http://www.bestpractical.com?rt=4.4.2"&gt;Best Practical Solutions, LLC&lt;/a&gt;. &lt;/span&gt;</p&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt;</span></pre> </td> </tr> </tbody> </table> </body></html>
0.18 on its way to CPAN -- Best regards, Ruslan.


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.