Re: Tidy bug report (vers 13th January 2000)

On Fri, 24 Mar 2000, Paavo Hartikainen wrote:

> Tidy always expands '&' to '&' even if I have
> 'quote-ampersand: no' defined in configuration file. This is not
> a good thing to do for URLs that have '&' characters in them. OS
> is Debian GNU/Linux 2.1 SPARC. Same thing happens on Alpha.
> Other architectures I have not tried.

If you are outputting XHTML then a naked & will always be
mapped to & since a naked & is illegal in XML. If you output
to HTML, then "quote-ampersand: no" will leave a naked & unchanged.
I just tested that it does indeed work that way.

p.s. & in URLs are fine, since the browser expands the
entities before acting on the URL>

Regards,

-- Dave Raggett <dsr@w3.org> http://www.w3.org/People/Raggett
tel/fax: +44 122 578 3011 (or 2521) +44 385 320 444 (mobile)
World Wide Web Consortium (on assignment from HP Labs)

Received on Thursday, 30 March 2000 09:29:28 UTC