RE: Script tags

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 04:29:12 UTC