- From: Mark Renouf <mrenouf@sparecycles.net>
- Date: Fri, 02 Feb 2001 16:19:03 -0500
- To: html-tidy@w3.org
Yes I came across that workaround, but it's a kludge.
*
Steps to reproduce:*
tidy a file with
<SCRIPT language="javascript" type="text/javascript" src="foo.js"></script>
and see what you get.
Bertilo Wennergren wrote:
> Mark Renouf:
>
>> Script tags with src="foo.js" are treated as empty and pruned.
>> I'm looking at the code now to see if it's possible to have tidy leave
>> them alone if they have the src attribute set. Has anyone looked
>> into this?
>
>
> I've never had this problem. Could you show us an example?
>
> One simple but hackish way of avoiding the problem could be to add "//"
> as the only content of such "script" elements.
>
>> Also, I made a small change to support and output format that works with
>> UltraEdit (so you can double click the error and be brought to the
>> correct line). I could put together if anyone's interested.
>
>
> I'm interested!
>
> #####################################################################
> Bertilo Wennergren
> <http://purl.oclc.org/net/bertilo>
> <bertilow@chello.se>
> #####################################################################
>
>
Received on Friday, 2 February 2001 16:18:23 UTC