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.

Arnoud Dekker
Received on Wednesday, 16 May 2001 10:57:31 UTC

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