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

Code macro removes all leading white space till first character

      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;
                  }
      

              don.willis@atlassian.com Don Willis
              nick.menere Nick Menere [Atlassian] (Inactive)
              Affected customers:
              4 This affects my team
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: