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

Incorrect rendering of code tag after a bullet with '|' in the code

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 1.4
    • None
    • None

      The parser needs to ignore the '|' character when inside of a code tag. Try creating a page with this in it:

      • test
        if ( a || b )
        {
            for( ;; );
        }
        

      What happens is you get "if ( a" in the code panel, then the rest outside of the panel, but still color coded (notice the 'for' that gets colored blue).

      Now, if you put a blank line between the "* test" and "

      
      

      " then it will render properly.

      Also note this happens with the '#' numbered bullet, and probably with a bunch of other prefixes.

            Unassigned Unassigned
            46dd16050868 Scott Bilas
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: