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

Quotation marks in web contents replaced in a lossy way

    Details

      Description

      Some typographic quotation marks are replaced by their ASCII simplification. This may cause web contents look poor.

      This affects the following Unicode code points:

      • U+2019 RIGHT SINGLE QUOTATION MARK
      • U+201C LEFT DOUBLE QUOTATION MARK
      • U+201D RIGHT DOUBLE QUOTATION MARK

      This replacement was introduced by LEP-4868, and performed by replaceMsWordCharacters() in HtmlImpl.

      Reproduction steps:

      1. Create new web content
      2. Add the following characters as content

        ’ “ ”

      3. Publish it
      4. Open the newly created web content
      5. Actual result: Content is converted to

        ' " "

      The expected result should contain the quotation marks as entered originally.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 years, 26 weeks, 2 days ago

                  Packages

                  Version Package
                  6.1.X EE
                  6.2.2 CE GA3
                  6.2.X EE
                  7.0.0 M1