Fwd: Tidy-cvs digest, Vol 1 #333 - 1 msg

Charlie Reitzel <[email protected]> Mon, 30 Jan 2006 09:16:41 -0500
Newsgroups gmane.comp.web.html-tidy.devel
Message-ID <[email protected]>
Hi OTF,

In the future, please do not send messages to the CVS notification 
list.  Just drop a line to the tidy-develop list.

To answer your question, Tidy doesn't do that.  I implemented a working 
version of Tidy that does do that, but found the product had changed a 
great deal in the meantime and never found time to do the merge.

Currently, Tidy's entire notion of entities is entwined the character 
encoding settings.  To implement what you (and many others) want, Tidy 
needs to preserve character entities in the source text distinctly from 
output entities based on the character encoding.  If anyone gets ambitious, 
I would be happy to share my snapshot of the code that implements this feature.

Thanks,
Charlie

>Date: Sun, 29 Jan 2006 20:28:22 -0800
>From: [email protected]
>Subject: Tidy-cvs digest, Vol 1 #333 - 1 msg
>To: [email protected]
>Today's Topics:
>
>    1. How do you keep char entities as they are and unicode chars as hex 
> ones? (OneTit Femme)
>
>Message: 1
>Date: Sun, 29 Jan 2006 05:00:20 -0800 (PST)
>From: OneTit Femme <[email protected]>
>To: [email protected]
>Subject: [Tidy-cvs] How do you keep char entities as they are and unicode 
>chars as hex ones?
>
>  I haven't found a way to make tidy freaking keep the
>hexadecimal encodings of especial characters :-(
>
>  I would like for tidy to leave char entities as they
>are set by me; it is easier to memorize/look up
>unicode characters in their /unnnn (&#xnnnn) form. All
>other char entities, say &aelig; I would like to be
>left alone as well.
>
>  I am running it like:
>
>sh-3.00# tidy -file errs.txt -clean -asxml -access 3
>-latin1 -indent -wrap 120 -output output.html <page2b_tidied>.html
>
>  it just substitutes them for numeric ones, which does
>not work well for me.
>
>  So, how do you?
>
>  Thanks
>  otf



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642