W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 1999

  to spaces is not preferred

From: COFFMAN Steven <SCoffman@CBSINC.com>
Date: Wed, 22 Dec 1999 11:59:58 -0500
Message-ID: <8234CF257FAAD311A690009027B1003A42177D@hqex01>
To: "'html-tidy@w3.org'" <html-tidy@w3.org>
You automatically replace "&nbsp;" with a regular space in many cases. If a
person goes to the trouble of entering a space as "&nbsp;" they probably
want it to stay that way (Unless they're Microsoft Office users, in which
case all bets are off). Since empty table cells are not rendered in
browsers, and other programs (Frontpage) remove "extraneous" spaces, it can
be quite inconvenient to use tidy with other editors. Could you make
replacing "&nbsp;" optional? Example follows.

Original:
-------
<TABLE>
<TR>
<TD>&nbsp; </TD>
</TR>
</TABLE>
--------
Output:
--------
<table>
<tr>
<td> </td>
</tr>
</table>
--------
Received on Wednesday, 22 December 1999 11:55:48 GMT

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