Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-30516

Prevent nuxeo-document-preview from scrubbing HTML style attributes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Bug
    • Affects Version/s: 10.10
    • Fix Version/s: None
    • Component/s: Convert, Preview

      Description

      Steps to reproduce:

      1. Open attached test file in browser - observe table and nested tags have populated style attributes (defining background-color and font-family specifically).
      2. In Web UI, drag and drop attached file for import; use "Add Properties" to create as File doctype.
      3. View created document and compare view from nuxeo-document-preview element against source files - observe that background-color and font-family table styles are eliminated.

      Expected behavior: html displayed in nuxeo-document-preview should match that found in the source file used for document import.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              hmiskaryan Henry Miskaryan
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: