Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: HTML::TreeBuilder and HTML4.01 empty elements

by rhesa (Vicar)
on Jul 09, 2008 at 11:54 UTC ( [id://696432]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        if ( scalar $self->content_list == 0 && $self->_empty_element_map-
    +>{ $self->tag } ) {
            return $tag . " />";
    ...
        else {
            return $tag . ">";
        }
    
  2. or download this
    #!/usr/local/bin/perl
    
    ...
    
    __END__
    <html><hr><br><img src="pic.jpg"></html>
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2024-04-26 05:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found