Opened 10 years ago

Closed 10 years ago

#1525 closed defect (fixed)

Improved handling of script tags

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


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 (1)

comment:1 Changed 10 years ago by wymsy

  • Resolution set to fixed
  • Status changed from new to closed

changeset [1266]

Note: See TracTickets for help on using tickets.