Re: Preserve original value

"Devarasetty Ramu" <[email protected]>
Newsgroups gmane.comp.web.html-tidy.user,gmane.comp.web.html-tidy.devel
Message-ID <[email protected]>
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" <[email protected]>
To: "Devarasetty Ramu" <[email protected]>
Cc: <[email protected]>; <[email protected]>
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:[email protected] · 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/
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.