Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 29688
Status: resolved
Priority: 0/
Queue: HTML-Tidy

People
Owner: Nobody in particular
Requestors: j_and_t [...] hotmail.com
Cc:
AdminCc:

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



CC: Andy Lester <andy [...] petdance.com>
Subject: Segfault with HTML::Tidy - trying to send the HTML stuff
Date: Sun, 30 Sep 2007 23:10:01 -0700
To: Andy Lester <bug-html-tidy [...] rt.cpan.org>
From: J and T <j_and_t [...] hotmail.com>
Download (untitled) / with headers
text/plain 1.1k
Hello Andy, The previous post is not allowing for the HTML to show in the "$content" variable so I am trying to use entities to see if that will work. Hoping.... HTML::Tidy - Version 1.08 HTML::Tidy::Message - Version 1.08 Perl v5.8.8 built for i386-linux-thread-multi OS: Fedora 7 and CentOS 5 libtidy-0.99.0-12.20070228.fc7 tidy-0.99.0-12.20070228.fc7 libtidy-devel-0.99.0-12.20070228.fc7 libtidy-0.99.0-12.20070228.el5.centos tidy-0.99.0-12.20070228.el5.centos libtidy-devel-0.99.0-12.20070228.el5.centos I can make HTML::Tidy segfault every time. Here's my perl source. The "$content" validates perfectly with the validator.w3.org: <--snip--> #!/usr/local/bin/perl use HTML::Tidy; $content = <<"end_of_html"; Hello end_of_html my $tidy = HTML::Tidy->new(); $tidy->ignore( type => TIDY_WARNING ); $tidy->parse( '', $content ); for my $message ( $tidy->messages ) { print $message->as_string; } <--snip--> $ perl tidy_test.pl Segmentation fault Hope you have a fix or an idea of how to fix it, John Show quoted text
_________________________________________________________________ News, entertainment and everything you care about at Live.com. Get it now! http://www.live.com/getstarted.aspx
HTML::Tidy now uses libtidyp. Please try a newer version, 1.52 or higher.


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.