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

HTML pasted into literal ends up outside literal tag when the source is not plaintext

    XMLWordPrintable

Details

    Description

      Basically, this is the same bug described in EZP-22313 and it will only appears after the apply of the patch provided in that issue.

      Steps to Reproduce
      With the patch, execute the steps to reproduce described in EZP-22313 but have in mind:

      • Test in both Chrome and Firefox (the behavior seems a little erratic here).
      • Copy the HTML tags from a Browser (there's an example below) or from a text processor like MS Word source. Plain text bug is solved.
      • Confirm the tags will be pasted outside the literal or the literal tag will disappear.
      <div>
      <table>
      <tr>
      <td><b>Head #001</b></td>
      <td><b>Head #002</b></td>
      </tr>
      <tr>
      <td><b>Test #001</b></td>
      <td><b>Test #002</b></td>
      </tr>
      </table>
      </div>
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            eduardo.fernandes-obsolete@ez.no Eduardo Fernandes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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