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

Tables copied from MS Word contain unwanted entities while converting to RichText

    XMLWordPrintable

    Details

      Description

      Table copied from MS Word into RichText isn't properly validated.

      1. Open attached table example ("table test.docx").
      2. Paste it as is into the RichText field (e.g. in the newly edited or created article).
      3. Hit "Save" or "Publish".

      Result:
      The user is presented with an error:

      Validation of XML content failed: Error in 6:0: Element section has extra content: informaltable

      This error is caused by the fact, that \n and attributes ezxhtml:width="116.95pt" entities aren't properly validated.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                konrad.oboza@ez.no Konrad Oboza
              • Votes:
                4 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: