Mail Handler parses html <pre> tag as code block and ignores other tags

XMLWordPrintable

    • 2
    • Severity 3 - Minor

      Issue Summary

      When text in an email body is placed within the <pre></pre> tag, Jira formats it as a block of code, and all other tags used inside are ignored.

      Links are erased and become a plain line of code (see attached images).

      Steps to Reproduce

      1. Send an email to service project handler that includes text nested in <pre></pre> HTML tag

      Expected Results

      The text is formatted as normal text, according to the tags within it, in the Jira issue description.

      Actual Results

      All text inside the <pre> tag is placed in a block of code in the Jira issue description.

      Workaround

      Disable "HTML email parsing" in Settings > Products > Email requests.

            Assignee:
            Unassigned
            Reporter:
            Renata Dornelas (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: