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

Line wrapping throws off line numbering in code block macro

XMLWordPrintable

      I have a chunk of XML contained in the {code} macro. The first line has a bunch of namespaces defined, which makes the line wrap 7 or 8 times. The line numbering of the code macro doesn't detect this and only numbers the number of lines in the XML snippet total. This means that the last few lines have no line numbers and the line numbers for those lines that do have the wrong line numbers.

        1. Line Wrapping.jpg
          117 kB
          Rick Herrick

            shaffenden Steve Haffenden (Inactive)
            f015b9531f7b Rick Herrick
            Votes:
            9 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: