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

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: