Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: remove html comments using HTML::HTML5::ToText

by tobyink (Abbot)
on Jun 14, 2013 at 13:10 UTC ( #1038966=note: print w/ replies, xml ) Need Help??


in reply to remove html comments using HTML::HTML5::ToText

It looks like there's still a $node->isa("XML::LibXML::Text") check that should be replaced with $node->nodeName eq "#text".

HTML::HTML5::ToText 0.004 should be on a CPAN mirror near you some time in the next few hours with a fix.

package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name


Comment on Re: remove html comments using HTML::HTML5::ToText
Select or Download Code
Replies are listed 'Best First'.
Re^2: remove html comments using HTML::HTML5::ToText
by mendeepak (Scribe) on Jun 17, 2013 at 05:40 UTC

    Thanks Works Fine now ...

    *=*=*dEEPAk*=*=*

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1038966]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2015-07-30 08:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (270 votes), past polls