Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-115452

Embedded HTML in Groovy script doesn't print correctly in Server Administration

    Details

    • Fix Priority:
      3

      Description

      Steps to Reproduce:

      1. Go to Server Administration > Script.
      2. Execute below Groovy script.
        			out.println(
        			"""
        				<div class="embedded-html-test">
        					Test Embedded HTML
        				</div>
        			""");
        

      Expected Results:
      The output should be:

                                      Test Embedded HTML
      

      Actual Results:
      The output is:

                                      <div class="embedded-html-test">
      					Test Embedded HTML
      				</div>
      

      Reproduced on:
      Tomcat 9.0.33 + MySQL 5.7. Portal master GIT ID: 438ede3ce637a64c6011615666f9b0d566573926.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              summer.zhang Summer Zhang
              Reporter:
              summer.zhang Summer Zhang
              Participants of an Issue:
              Recent user:
              Summer Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                13 weeks ago

                  Packages

                  Version Package