Ticket #1525 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Improved handling of script tags

Reported by: wymsy Owned by: gogo
Priority: normal Milestone:
Component: Xinha Core Version: trunk
Severity: normal Keywords:
Cc:

Description

The 'freezescript' method of preventing scripts from executing in the editor does not work if the script tag does not include either a type="text/javascript" or a language="javascript" attribute. Some widget generators (including from google) generate code that contains plain <script> tags. This fix will insert 'type="text/javascript"' into any script tag without a type or language attribute.

Change History

Changed 3 years ago by wymsy

  • status changed from new to closed
  • resolution set to fixed

changeset [1266]

Note: See TracTickets for help on using tickets.