Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-4548

Code macro removes all leading white space till first character

    XMLWordPrintable

Details

    Description

      When inserting the following code inside a code macro, all leading white spaces are removed till for character. It should be till the first newline:

      {code:java}
                  if (dirName == null)
                  {
                      log.warn("No directory specified for export - not exporting");
                      return;
                  }
      {code}
      

      results in:

      if (dirName == null)
                  {
                      log.warn("No directory specified for export - not exporting");
                      return;
                  }
      

      Attachments

        Activity

          People

            don.willis@atlassian.com Don Willis
            nick.menere Nick Menere [Atlassian] (Inactive)
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: