Ticket #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: | |
| 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
Note: See
TracTickets for help on using
tickets.
