Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
5.1 EE SP4 (5.1.7), 5.2 EE SP3 (5.2.7)
-
All
Description
Liferay portal places JavaScript code between the </body> tag and the </html> tag. This reduces the time needed to render pages by modern browsers, however, the resulting HTML is not technically valid HTML. For portals that need to validate as valid HTML, a ValidHtmlFilter has been added. Setting the following in portal(-ext).properties will move the JavaScript inside the <body> tag.
com.liferay.portal.servlet.filters.html.ValidHtmlFilter=true
Attachments
Issue Links
- is related to
-
LPS-7812 Create a filter which enables Html validation (no javascript after the body tag is closed)
-
- Closed
-