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

Color tags inside a link are not rendered correctly in the Rich Text Editor

XMLWordPrintable

      The following markup is not converted correctly to XHTML (and thus not back again, either):

      [{color:blue}Foo{color}|Bar]

      (Ignore the escapes)

      It seems that since the inner color tags are interpreted first, the tokenised version of it is set as the originalLinkText, and when the link is rendered, font markup appears inside the attributes of the "a" tags. Probably needs quite a bit of fudging around to fix it.

      The above test case is commented out in TestSimpleMarkup in the renderer project.

              dtaylor David Taylor (Inactive)
              8d92d19feb5e Jeremy Higgs
              Votes:
              6 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: