- From: Bjoern Hoehrmann <derhoermi@gmx.net>
- Date: Sun, 18 Feb 2007 16:19:10 +0100
- To: Oswald Glinkmeyer <glink2005@gmail.com>
- Cc: html-tidy@w3.org
* Oswald Glinkmeyer wrote: >I want to know if there's a setting that will prevent it from converting >a numeric entity into a character? For example, it seems to convert >"m" (that is, ampersand#109; if that is filtered on this list) to >"m" and so forth. The -n switch converts named entities into numeric >entities, but with this option Tidy still converts simple numeric >entities to their characters, I guess if they're printable characters >under ascii 128. I've been looking through the docs, and while there are >lots of configuration and command line options ><http://tidy.sourceforge.net/docs/quickref.html>, I can't seem to find >what I'm looking for. Is this even possible? This is not currently possible. Presumably you are trying to obfuscate e.g. an e-mail address, in that case I would suggest to use a post-pro- cessing script; since Tidy generates fairly regular output, a simple regular expression search and replace should do. -- Björn Höhrmann · mailto:bjoern@hoehrmann.de · 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/
Received on Sunday, 18 February 2007 15:19:13 UTC