logo       

Re: Using tidy for editing html: msg#00014

web.html-tidy.devel

Subject: Re: Using tidy for editing html

* 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.
--
Björn Höhrmann · mailto:bjoern@xxxxxxxxxxxx · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise