Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-25345

Numeric character references not seen as literal in "literal text" in OE 5.4

    Details

    • Type: Bug Bug
    • Status: Confirmed
    • Priority: High High
    • Resolution: Unresolved
    • Affects Version/s: 5.4.5
    • Fix Version/s: QA tracked issues
    • Labels:
    • Environment:

      Operating System: Debian 8
      PHP Version: 5.6.14-0+deb8u1
      Database and version: Mysql 5.5.46-0+deb8u1
      Browser (and version): Firefox 43

      Description

      Pasting text with numeric character references (decimal * or hexadecimal ä) into a literal block will be shown as their interpreted values. They should be shown literally (unless the literal block is a custom one which outputs its content without escaping).

      Steps to reproduce:
      1. Create any content object with an XML block (example, folder, article)
      2. Add a literal block into it
      3. Paste text like the following: *
      4. Publish, and access your content

      The text will appear as * and not as *

      This affects 5.4, but not 5.3.

        Issue Links

          Activity

          Paulo Nunes (Inactive) created issue -
          Paulo Nunes (Inactive) made changes -
          Field Original Value New Value
          Status Open [ 1 ] Confirmed [ 10037 ]
          Paulo Nunes (Inactive) made changes -
          Description Pasting text with HTML entity umlaut ä into a literal block will not be shown as {{ä }}.

          h5. Steps to reproduce:
          # Create any content object with an XML block (example, folder, article)
          # Add a literal block into it
          # Paste text like the following: {{&\#xe4; }}
          # Publish, and access your content

          The text will appear as {{ä }} and not as {{&\#xe4; }}
          Pasting text with HTML entity umlaut ä into a literal block will not be shown as {{ä }}.

          h5. Steps to reproduce:
          # Create any content object with an XML block (example, folder, article)
          # Add a literal block into it
          # Paste text like the following: {{&\#xe4;}}
          # Publish, and access your content

          The text will appear as {{ä}} and not as {{&\#xe4;}}
          Paulo Nunes (Inactive) made changes -
          Remote Link This issue links to "The-Literal-text-button (Web Link)" [ 16080 ]
          Paulo Nunes (Inactive) made changes -
          Link This issue blocks EZP-25243 [ EZP-25243 ]
          Gunnstein Lye made changes -
          Summary HTML entity ä is not seen as literal in "literal text" on Online editor Numeric character references not seen as literal in "literal text" on Online editor
          Gunnstein Lye made changes -
          Description Pasting text with HTML entity umlaut ä into a literal block will not be shown as {{ä }}.

          h5. Steps to reproduce:
          # Create any content object with an XML block (example, folder, article)
          # Add a literal block into it
          # Paste text like the following: {{&\#xe4;}}
          # Publish, and access your content

          The text will appear as {{ä}} and not as {{&\#xe4;}}
          Pasting text with numeric character references (decimal {{&\#42;}} or hexadecimal {{&\#xe4;}}) into a literal block will be shown as their interpreted values. They should be shown literally (unless the literal block is a custom one which outputs its content without escaping).

          h5. Steps to reproduce:
          # Create any content object with an XML block (example, folder, article)
          # Add a literal block into it
          # Paste text like the following: {{&\#42;}}
          # Publish, and access your content

          The text will appear as {{*}} and not as {{&\#42;}}
          Gunnstein Lye made changes -
          Description Pasting text with numeric character references (decimal {{&\#42;}} or hexadecimal {{&\#xe4;}}) into a literal block will be shown as their interpreted values. They should be shown literally (unless the literal block is a custom one which outputs its content without escaping).

          h5. Steps to reproduce:
          # Create any content object with an XML block (example, folder, article)
          # Add a literal block into it
          # Paste text like the following: {{&\#42;}}
          # Publish, and access your content

          The text will appear as {{*}} and not as {{&\#42;}}
          Pasting text with numeric character references (decimal {{&\#42;}} or hexadecimal {{&\#xe4;}}) into a literal block will be shown as their interpreted values. They should be shown literally (unless the literal block is a custom one which outputs its content without escaping).

          h5. Steps to reproduce:
          # Create any content object with an XML block (example, folder, article)
          # Add a literal block into it
          # Paste text like the following: {{&\#42;}}
          # Publish, and access your content

          The text will appear as {{*}} and not as {{&\#42;}}

          This affects 5.4, but not 5.3.
          Gunnstein Lye made changes -
          Remaining Estimate 0 minutes [ 0 ]
          Time Spent 2 hours [ 7200 ]
          Worklog Id 58368 [ 58368 ]
          Gunnstein Lye made changes -
          Assignee Gunnstein Lye [ gunnstein.lye@ez.no ]
          Gunnstein Lye made changes -
          Status Confirmed [ 10037 ] Backlog [ 10000 ]
          Gunnstein Lye made changes -
          Summary Numeric character references not seen as literal in "literal text" on Online editor Numeric character references not seen as literal in "literal text" on OE
          Gunnstein Lye made changes -
          Summary Numeric character references not seen as literal in "literal text" on OE Numeric character references not seen as literal in "literal text" in OE
          Gunnstein Lye made changes -
          Summary Numeric character references not seen as literal in "literal text" in OE Numeric character references not seen as literal in "literal text" in OE 5.4
          Gunnstein Lye made changes -
          Status Backlog [ 10000 ] Development [ 3 ]
          Gunnstein Lye made changes -
          Time Spent 2 hours [ 7200 ] 3 hours, 30 minutes [ 12600 ]
          Worklog Id 58413 [ 58413 ]
          Paulo Nunes (Inactive) made changes -
          Link This issue blocks EZP-25243 [ EZP-25243 ]
          Paulo Nunes (Inactive) made changes -
          Link This issue discovered while testing EZP-25243 [ EZP-25243 ]
          Gunnstein Lye made changes -
          Time Spent 3 hours, 30 minutes [ 12600 ] 6 hours, 30 minutes [ 23400 ]
          Worklog Id 58417 [ 58417 ]
          Gunnstein Lye made changes -
          Status Development [ 3 ] Backlog [ 10000 ]
          Gunnstein Lye made changes -
          Status Backlog [ 10000 ] InputQ [ 10001 ]
          Gunnstein Lye made changes -
          Assignee Gunnstein Lye [ gunnstein.lye@ez.no ]
          Gunnstein Lye made changes -
          Status InputQ [ 10001 ] Closed [ 6 ]
          Resolution Incomplete [ 4 ]
          Gunnstein Lye made changes -
          Resolution Incomplete [ 4 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Gunnstein Lye made changes -
          Status Reopened [ 4 ] Confirmed [ 10037 ]
          Alex Schuster made changes -
          Workflow EZ* Development Workflow [ 97291 ] EZEE Development Workflow [ 108673 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Paulo Nunes (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 6 hours, 30 minutes
                6h 30m