W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2003

Re: Tidy choking on quotes-within-quotes in javascript

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Mon, 07 Jul 2003 06:37:49 +0200
To: Jean-Christian Imbeault <jc@mega-bucks.co.jp>
Cc: html-tidy@w3.org
Message-ID: <3f59e9ab.478209558@smtp.bjoern.hoehrmann.de>

* Jean-Christian Imbeault wrote:
>The following javascript gets it's quotes mangled (escaped) by Tidy:
>
>document.write("<img src='http://domain.com" + document.referrer + "' 
>width=1 height=1>");
>
>Become:
>
>document.write("<img src=\'http://domain.com" + document.referrer + "\' 
>width=1 height=1>");

I am sorry but I am unable to reproduce this behaivour. Do you have a
more complete sample document? What version of HTML Tidy do you sue?
Received on Monday, 7 July 2003 00:38:21 UTC

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