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

    XMLWordPrintable

Details

    Description

      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]

      Attachments

        Issue Links

          Activity

            People

              smansour Sherif Mansour
              8d92d19feb5e Jeremy Higgs
              Votes:
              4 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: