W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2004

Tidy and Windows Script Encoding

From: Moshe Matitya <mmatitya@finjan.com>
Date: Sun, 19 Sep 2004 14:38:12 +0300
Message-ID: <04F8F5F9BE29F746BC63DBFCA32D011B5E6152@exchange.Finjan.co.il>
To: <html-tidy@w3.org>
Unless I've missed something, Tidy appears to be incompatible with HTML pages that use Windows Script Encoding [<http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/SeconScriptEncoderOverview.asp>].  This is because the encoded scripts contain tab characters -- which Tidy automatically converts into spaces.  This conversion corrupts the encoded script, which then fails to run under IE.

I searched for an option to turn off the tab-to-space conversion, but found none.  In fact, I found an assurance that my search was futile:  The documentation states categorically:  "Tidy never outputs tabs" [<http://tidy.sourceforge.net/docs/quickref.html#tab-size>].

Is there any way around this problem?  If not, perhaps an option can be added to avoid it (i.e., an option to turn off tab-to-space conversion, at least in scripts)?



Finjan Software

This e-mail and any attached files are confidential and may be legally
privileged. The unauthorized use, disclosure or copying of this email or
any information contained within it is strictly prohibited. This also
confirms that Finjan Software's Vital Security for E-Mail has scanned this
message for the presence of known viruses and potentially malicious

Finjan Software - Prevention is the Best Cure!
Received on Sunday, 19 September 2004 11:39:20 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:55 UTC