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

HTML editable field content is not being validated on save

    Details

      Description

      Not validating the HTML may produce undesirable results. Here is an example:

      • Add an HTML fragment to a page.
      • Add some invalid content (e.g. <html></html>) and save.
      • Check that the HTML tag is not removed, and a class is added to it (is this correct?).
      • Edit that same fragment again, replacing the content added in 2 by <!-- (an open comment, with no closing counterpart) and save.
      • Refresh the page.
      • It is not possible to edit the fragment content anymore (edit controls don't show up).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kristin.onias Kristin Onias
              Reporter:
              pablo.molina Pablo Molina
              Participants of an Issue:
              Recent user:
              Jason Pince
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                37 weeks, 5 days ago

                  Packages

                  Version Package
                  7.3.1 CE GA2
                  7.3.10 DXP GA1
                  Master