tidy26jun99 not preserving JavaScript literals

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 UTC