Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 51116
Status: resolved
Priority: 0/
Queue: HTML-StripScripts

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

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



Subject: HTML::StripScripts removes text content when content is '0'
Date: Wed, 4 Nov 2009 14:42:08 -0800
To: bug-html-stripscripts [...] rt.cpan.org
From: Jim Laney <jim.laney [...] gmail.com>
When the content of any tag is '0', HTML::StripScripts removes the content. To reproduce: use HTML::StripScripts; my $hss = HTML::StripScripts->new({ Context => 'Inline' }); $hss->input_start_document; $hss->input_start('<i>'); $hss->input_text('0'); $hss->input_end('</i>'); $hss->input_end_document; warn $hss->filtered_document; # output is '<i></i>' Thanks, Jim
Hi Jim Thanks for the bug report - version 1.05 (just uploaded) fixes this clint
Hi Jim Thanks for the bug report - version 1.05 (just uploaded) fixes this clint