[ https://issues.apache.org/struts/browse/WW-1627?page=com.at lassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Husted updated WW-1627: --------------------------- Fix Version/s: (was: 2.0.x) 2.0.5 > HTML <script> tags in templates missing type attribute, causing invalid HTML > ------------------------------------------------------------ ---------------- > > Key: WW-1627 > URL: https ://issues.apache.org/struts/browse/WW-1627 > Project: Struts 2 > Issue Type: Bug > Components: Views > Reporter: Philip Luppens > Fix For: 2.0.5 > > Attachments: WW-1627.patch > > > See: http://ji ra.opensymphony.com/browse/WW-1405 > The <script> tags generated by WebWork should have the type attribute, per the HTML 4 specification. One specific example is in the /simple/form-close.ftl template, in the customOnSubmit script. Simply changing the template to do <script type="text/javascript"> instead of <script> solves the problem. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
about | contact Other archives ( Real Estate discussion Medical topics )
Mailing lists
Newsgroups
RFC archive