Re: Using tidy for editing html
Vincent Finn <[email protected]> Mon, 19 Jun 2006 10:43:42 +0100
| Newsgroups | gmane.comp.web.html-tidy.devel |
|---|---|
| Message-ID | <[email protected]> |
That should be fine for my purpose. Any wysiwyg editing will be done in a html editor so the escaping can stay. I only need editing capability from the parser to automate certain changes to the tags (if the font size = 26 then change to h1 sort of thing). Thanks, Vin Bjoern Hoehrmann wrote: > * Vincent Finn wrote: >> I am using GetNodeText() (tidyNodeGetText() in C) to get the >> content of the text nodes and it seems to work fine. > > The function invokes the pretty printer which will escape special > characters like "<" and "&" for you, which you have to unescape > again if you want to apply additional processing.