W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2006

Re: Preserve original value

From: Devarasetty Ramu <ramuis78@hotmail.com>
Date: Tue, 30 May 2006 15:28:41 -0400
Message-ID: <BAY105-DAV2EBF10858B6F1C8F8DCE0D1920@phx.gbl>
To: "Bjoern Hoehrmann" <derhoermi@gmx.net>, <html-tidy@w3.org>, <tidy-develop@lists.sourceforge.net>, <dsr@w3.org>, "John Campbell" <jdc.rpv@cox.net>

I'd got it...Thanks

--quote-ampersand no --ncr no

Regards
Ram


----- Original Message ----- 
From: "Devarasetty Ramu" <ramuis78@hotmail.com>
To: "Bjoern Hoehrmann" <derhoermi@gmx.net>; <html-tidy@w3.org>; 
<tidy-develop@lists.sourceforge.net>; <dsr@w3.org>; "John Campbell" 
<jdc.rpv@cox.net>
Sent: Tuesday, May 30, 2006 3:09 PM
Subject: Re: Preserve original value


> Thanks for your quick replies.
>
> Can you look at following simple html code and tidy is converting &#160; 
> to &nbsp; .....
> Can you please let me know which option i need to set in configuration 
> file (i want to preserve the original value, i.e &#160;)
>
> Before Tidy:
> <html>
> <head>
> <title></title>
> </head>
> <body>
> <table>
> <tr>
> <td>col 1&#120;</td>
> <td>col 2&#146;</td>
> <td>col 3&#160;</td>
> </tr>
> </table>
> </body>
> </html>
>
> After Tidy
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
> <html>
> <head>
> <title></title>
> </head>
> <body>
> <table>
> <tr>
> <td>col 1x</td>
> <td>col 2&#8217;</td>
> <td>col 3&nbsp;</td>
> </tr>
> </table>
> </body>
> </html>
>
>
> ----- Original Message ----- 
> From: "Bjoern Hoehrmann" <derhoermi@gmx.net>
> To: "Devarasetty Ramu" <ramuis78@hotmail.com>
> Cc: <html-tidy@w3.org>; <tidy-develop@lists.sourceforge.net>
> Sent: Friday, May 26, 2006 10:24 AM
> Subject: Re: Error reading file - 55 MB
>
>
>>* Devarasetty Ramu wrote:
>>>And i would like to know whether this tool works for larger files also?
>>>B'coz i gave 55 MB file to validate and it took <1 minute to validate
>>>and when i try to open this file in either frontpage 2002 or my dhtml
>>>editor, it just fail to open and giving alert "Error reading file". The
>>>same validated file is opening in NOTEPAD.
>>
>> I'm afraid we cannot help you with other applications like Frontpage,
>> but for Tidy you seem to be saying that it can process the file just
>> takes longer than expected. Tidy is not currently optimized for per-
>> formance (in particular, the cleanup routines traverse the tree way
>> too often without any real need) though there are some compile time
>> options to improve a few things. However, 1 minute for 55 MB does
>> not sound too bad to me.
>> -- 
>> 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 Tuesday, 30 May 2006 19:27:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:56 GMT