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

Color tags surrounding a link are not rendered correctly by WYSIWYG

      The following markup is not converted correctly between markup and XHTML (and back again):

      {color:red}[Some link]{color}

      The XHTML generated by the renderer places font tags around the "a" (link) tags, but JTidy moves the font tags inside of the "a" tags when the XHTML is passed through it. This needs to be fixed somehow... However, it may cause problems with CONF-4919, where the renderer would expect the font tags to be inside the "a" tags as well.

      Below is the output of the test case (currently commented out in TestSimpleMarkup):

      Expected:{color:red}[Some link]{color}
      Actual :[Some link]

            [CONFSERVER-4920] Color tags surrounding a link are not rendered correctly by WYSIWYG

            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2899062 ] New: CONFSERVER Bug Workflow v4 [ 3002199 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2791829 ] New: JAC Bug Workflow v3 [ 2899062 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2721732 ] New: JAC Bug Workflow v2 [ 2791829 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2385003 ] New: JAC Bug Workflow [ 2721732 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 2280511 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2385003 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2221642 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 2280511 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2166771 ] New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2221642 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 1924386 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2166771 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v3 [ 1726826 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 1924386 ]
            Katherine Yabut made changes -
            Workflow Original: CONF Bug Subtask WF (TEMP) [ 1682717 ] New: Confluence Workflow - Public Facing - Restricted v3 [ 1726826 ]

              smansour Sherif Mansour
              8d92d19feb5e Jeremy Higgs
              Affected customers:
              4 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: