Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Re: Remove HTML tags from document

by matth (Monk)
on Aug 04, 2003 at 09:18 UTC ( [id://280617]=note: print w/replies, xml ) Need Help??


in reply to Re: Remove HTML tags from document
in thread Remove HTML tags from document

This works nicely. Is there an easy adapation that would allow me to maintain spacing that is in the HTML document?

Replies are listed 'Best First'.
Re: Re: Re: Remove HTML tags from document
by pzbagel (Chaplain) on Aug 04, 2003 at 09:47 UTC

    I'm not sure I understand. I recall that HTML::TokeParser::Simple does in fact maintain newlines in the text. I tested the code quickly just to make sure and it does maintain newlines in the html. Do you have tags that are multi-line? What exactly is happening?

      I have tables where I would like to maintain the tabs.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-03-28 17:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found