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

Adding macros with attributes using separators (|) in rich text (WYSIWYG) breaks

      When adding a new macro through the RTE, all pipes (|) are escaped.

      For example:

      {toc:type=flat|separator=pipe|maxLevel=2}

      becomes

      {toc:type=flat\|separator=pipe\|maxLevel=2}

      This bug does NOT:

      1. Escape existing macros on pages
      2. Escape macros added through wiki markup

      This is because, when a macro is initially added it is parsed by the renderer as text rather than as a macro (it needs to be surrounded by a macro div).

            [CONFSERVER-5655] Adding macros with attributes using separators (|) in rich text (WYSIWYG) breaks

            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2888952 ] New: CONFSERVER Bug Workflow v4 [ 2999942 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2799655 ] New: JAC Bug Workflow v3 [ 2888952 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2730113 ] New: JAC Bug Workflow v2 [ 2799655 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2395301 ] New: JAC Bug Workflow [ 2730113 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 2291336 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2395301 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2229019 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 2291336 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2185772 ] New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2229019 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 1944221 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2185772 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v3 [ 1741283 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 1944221 ]
            Katherine Yabut made changes -
            Workflow Original: CONF Bug Subtask WF (TEMP) [ 1701620 ] New: Confluence Workflow - Public Facing - Restricted v3 [ 1741283 ]

              smansour Sherif Mansour
              ewong@atlassian.com Ernest Wong (Inactive)
              Affected customers:
              3 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: