Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-61023

Using special charactor in description field will result in the description appearing HTML tag (eg. <p>) and special charactors change to HTML entities (eg. < changes to &lt)

    XMLWordPrintable

Details

    Description

      NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.

      Summary

      Using special character in description field of some custom field (non text-only field type) will result in the description appearing HTML tag eg.

      <p> <p>
      

      and special characters change to HTML entities

      eg.< changes to &lt;
      

      Description Field

      Result

      Steps to Reproduce

      1. Create/Edit Custom Field (or Field Configration)
      2. Edit field description
      3. Enter special characters

      Expected Results

      The description is displayed without appending the "<p>" at the start / and of the description
      and special character should not translate to HTML entities.

      eg. Value <= $10000
      

      Actual Results

      eg. <p> Value &lt;= $10000 <p>
      

      *HTML tag disappears when description field are empty. However, it will will remain visible if there are any character entered (even when no special character are included in the description).

      Attachments

        1. Screenshot-34.png
          Screenshot-34.png
          10 kB
        2. Screenshot-35.png
          Screenshot-35.png
          5 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ashohaimi Syauqi (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: