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

    • 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.

            [CONFSERVER-2034] Incorrect rendering of code tag after a bullet with '|' in the code

            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2877946 ] New: CONFSERVER Bug Workflow v4 [ 3003966 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2781979 ] New: JAC Bug Workflow v3 [ 2877946 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2710320 ] New: JAC Bug Workflow v2 [ 2781979 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2375543 ] New: JAC Bug Workflow [ 2710320 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 2262247 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2375543 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2214001 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 2262247 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2163420 ] New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2214001 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 1919758 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2163420 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v3 [ 1723885 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 1919758 ]
            Katherine Yabut made changes -
            Workflow Original: CONF Bug Subtask WF (TEMP) [ 1670519 ] New: Confluence Workflow - Public Facing - Restricted v3 [ 1723885 ]

              Unassigned Unassigned
              46dd16050868 Scott Bilas
              Affected customers:
              0 This affects my team
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: