Skip Menu |
 

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

Report information
The Basics
Id: 105448
Status: open
Priority: 0/
Queue: HTML-Format

People
Owner: Nobody in particular
Requestors: pz89 [...] o2.pl
Cc:
AdminCc:

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



Subject: HTML::FormatRTF - option 'no_prolog' not working
Date: Tue, 23 Jun 2015 20:32:11 +0200
To: bug-HTML-Format [...] rt.cpan.org
From: pz89 <pz89 [...] o2.pl>
Download (untitled) / with headers
text/plain 281b
Hello, I found bug in HTML::FormatRTF module which not handle 'no_prolog' option.Example in shell: perl -MHTML::FormatRTF -e "my \$html ='&lt;html&gt;&lt;body&gt;xyz&lt;/body&gt;&lt;/html&gt;'; print HTML::FormatRTF-&gt;new(no_prolog=&gt;1)-&gt;format_string(\$html);"Best regards,
From: Mat
Download (untitled) / with headers
text/plain 569b
On Tue Jun 23 14:32:34 2015, pz89@o2.pl wrote: Show quoted text
> Hello, > I found bug in HTML::FormatRTF module which not handle 'no_prolog' > option.Example in shell: > perl -MHTML::FormatRTF -e "my \$html > ='&lt;html&gt;&lt;body&gt;xyz&lt;/body&gt;&lt;/html&gt;'; print > HTML::FormatRTF-&gt;new(no_prolog=&gt;1)- > &gt;format_string(\$html);"Best regards,
Same issue for e.g. fontname_body. This seems to be caused by a bug in sub configure(). Instead of single shift: my ($self, $hash) = shift; it should be something like: my ( $self ) = shift; my ( $hash ) = shift;


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.