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

{code} tags should not strip any whitespace or carriage returns whatsoever

    XMLWordPrintable

Details

    Description

      The {code} tags in the wiki renderer shouldn't strip any whitespace or make any modifications to the content within the tags at all, but it removes whitespace until the first non-space/carriage return character. The following example should have the first line blank and all the other lines indented the same amount, instead all the whitespace is stripped until the "F" in "First line":

      
           First line
           Second line
           Third line
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            nmason Nick Mason
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: