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

tidy26jun99 not preserving JavaScript literals

From: Philip Riebold <philip@livenet.ac.uk>
Date: Wed, 30 Jun 1999 17:39:52 +0100 (BST)
To: html-tidy@w3.org
Message-Id: <Pine.SUN.3.90.990630170612.346D-100000@livenet.ac.uk>
If I put

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
.
.
.
          <A href="http://www.ukerna.ac.uk" onmouseover=
          "change('ukerna', 1);" onmouseout="change('ukerna', 0);">

through tidy26jun99 the single quotes around the word ukerna are removed.

If "quote-marks: yes" is in the config file I end up with

<!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.0
Transitional//EN&quot;>
.
.
.
    <A href="http://www.ukerna.ac.uk" onmouseover=
    "change(&#39;ukerna&#39;, 1);" onmouseout=
    "change(&#39;ukerna&#39;, 0);">

(accepted by my browser but not valid HTML)

Previous versions of tidy did not do this.

Any suggestions ?


TTFN,

	Philip Riebold
Received on Wednesday, 30 June 1999 12:40:10 GMT

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