[ https://issues.apache.org/jira/browse/WW-5362?focusedWorklogId=896090&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-896090 ]
ASF GitHub Bot logged work on WW-5362: -------------------------------------- Author: ASF GitHub Bot Created on: 18/Dec/23 15:43 Start Date: 18/Dec/23 15:43 Worklog Time Spent: 10m Work Description: lukaszlenart commented on code in PR #812: URL: https://github.com/apache/struts/pull/812#discussion_r1430325735 ########## assembly/src/main/resources/template.vm: ########## @@ -43,12 +43,12 @@ under the License. <script src='http://struts.apache.org/highlighter/js/$hscript' type='text/javascript'></script> #end - <script type="text/javascript"> + <script> SyntaxHighlighter.defaults['toolbar'] = false; SyntaxHighlighter.all(); </script> #end - <script type="text/javascript" language="javascript"> + <script language="javascript"> Review Comment: Good catch, thanks! Issue Time Tracking ------------------- Worklog Id: (was: 896090) Time Spent: 2h (was: 1h 50m) > Remove type attribute out of <s:script/> tag > -------------------------------------------- > > Key: WW-5362 > URL: https://issues.apache.org/jira/browse/WW-5362 > Project: Struts 2 > Issue Type: Improvement > Components: Core Tags > Reporter: Lukasz Lenart > Priority: Minor > Fix For: 6.4.0 > > Time Spent: 2h > Remaining Estimate: 0h > > The {{type}} attribute should not be set if refers to a default value to > avoid warnings > https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script/type -- This message was sent by Atlassian Jira (v8.20.10#820010)