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

Multiple HTML elements have the same id of "content" in Web Content Editor

Details

    Description

      Issue
      Multiple HTML elements have the same id of "content" in Web Content Editor.

      Steps to Reproduce

      1. Go to Web Content
      2. Click the + icon and select Basic Web Content
      3. On the Web Content Edit screen right click the page, and click View Source (in your browser)

      Actual Behavior
      Multiple HTML elements have the same id of "content" in Web Content Editor. For example, press the hotkey for find (command + f or ctrl + f) then search for id="content".

      Expected Behavior
      HTML element ids are unique.

      Reproduced in
      7.1.X Commit: f89c7a1bc2515b43b0bd9371285ea3760be6fc40

      Fixed in
      Master Commit: 58dac3f0de52719fffe9d7106d18b4ca9fe65bcc
      – Note: Master has a weird issue with extra new lines in the HTML source

      Attachments

        Issue Links

          Activity

            People

              summer.zhang Summer Zhang
              amanda.kwok Amanda Kwok
              Kiyoshi Lee Kiyoshi Lee
              Brian I. Kim Brian I. Kim
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                3 years, 3 days ago

                Packages

                  Version Package
                  7.1.10 DXP FP17
                  7.1.10.4 SP4
                  7.1.X