Uploaded image for project: 'Kopano WebApp'
  1. Kopano WebApp
  2. KW-3661

Disable the MathML using dompurify

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 4.7.0, 5.0.0
    • Security Level: Public
    • Labels:
      None

      Description

      filter out the mathml tags from mail body.

      use following config to do that.

      let clean = DOMPurify.sanitize( dirty , {USE_PROFILES: {html: true}});
      

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            sdangroshiya Snehal Dangroshiya
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: