Details

    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

          Activity

            People

              paul.piao Paul Piao (Inactive)
              brian.chan Brian Chan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package
                  5.1 EE SP5 (5.1.8)
                  5.2 EE SP4 (5.2.8)