Re: tidy and JS

Thanks for your idea but I had set this option to 'yes'...without success. 
Here is my config file:

markup: yes
tidy-mark: no
input-xml: no
output-xhtml: yes
output-xml: yes
fix-uri: yes
force-output: yes
show-warnings: yes
show-errors: 10
input-encoding: latin1
output-encoding: latin1
numeric-entities: no
quote-marks: no
quote-nbsp: no
quote-ampersand: no
break-before-br: no
uppercase-tags: yes
uppercase-attributes: yes
literal-attributes: no
indent: yes
wrap: 0

Fabrice

At 16:53 25/03/2004 +0100, Bjoern Hoehrmann wrote:

>* Fabrice Estiévenart wrote:
> >tidying up this javascript:
> >
> ><script type="text/javascript" language="JavaScript">
> >         document.write('<select name="Language"
> >onChange="JumpMenu(this.options[this.selectedIndex].value)"; return 
> true;>');
> >     document.write('<option value="about_es.htm">Castellano<\/option>');
> ></script>
> >
> >gives me no change in the html code. However, the output document is not
> >well-formed xml.
>
>You should use the -asxml (--output-xhtml yes) config option then.

Received on Thursday, 25 March 2004 11:08:36 UTC