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

Re: removing

From: Arnoud Dekker <arnoud.dekker@rosetta.nl>
Date: Mon, 14 May 2001 07:46:23 -0400 (EDT)
Message-ID: <52EAB5BC37DF7245BA5AD4C4DD13E39C06AE97@hathor.rosetta.nl>
To: "'html-tidy@w3.org'" <html-tidy@w3.org>
nbsp is just one of the special characters tidy can't handle. (Or tidy can,
but your xml parser won't). The best thing you can do is to replace the
special characters to character code. At least the most common ones, like
nbsp, copysign, ampersand etc..
So change "&nbsp;" into "&#160;" .  You can simply do this in Java with a
replace function.

look here for more special characters and their codes.
http://www.idocs.com/tags/characterentities_famsupp_69.html

Arnoud Dekker
Arnoud@rosetta.nl
Received on Wednesday, 16 May 2001 10:57:31 GMT

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