• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Highest Highest
    • 9.0.1, 8.5.18
    • 7.19.16, 8.5.3, 8.5.4, 7.19.17, 8.7.2, 8.5.6, 7.19.21, 8.5.8, 8.5.11, 8.5.12, 8.9.4, 8.5.14
    • Editor - Core

      The fix for this bug will be released to our Long Term Support release.

      The fix for this bug has been approved for backport and will be available in an upcoming 8.5 release of Confluence. Check the fix-version field for details.

      23 August 2024 Update

      With the fix released by the upstream vendor, we're now investigating how to get that fix back to the version of TinyMCE used in our Confluence 8.5 LTS. Unfortunately with the options made available to us, we're having to investigate backporting the entire editor to this LTS release, which is potentially a breaking change. We're working on it and will provide updates as we have them.

      Note that a separate but related improvement was made as part of CONFSERVER-54754: Page with excessive nested span tags causes Synchrony to stop working (fixed in Confluence Data Center 8.4.0, 7.19.15) that has already been backported to LTS releases.

      Issue Summary

      Nested spans still created in some scenarios even after CONFSERVER-54754 patch causing a stack overflow for Synchrony. According to development this is a bug in TinyMCE code that needs to be fixed by TinyMCE.

      Steps to Reproduce

      Reproduction steps vary.

      Expected Results

      Confluence should flatten nested spans.

      Actual Results

      Nested spans are allowed and cause a stack overflow for Synchrony

      Workaround

      1. Install Confluence Source Code Editor
      2. Edit the page, then click the Source Editor icon to edit the page source
      3. Search for the stack of nested tags
      4. Once identified, remove all nested <span></span> tags between the <p> and </p> tags
      5. Save Page

      Alternately, the remove formatting editor option can be used to strip out all the formatting including these span tags.

            [CONFSERVER-93559] TinyMCE Code causing Nested Spans from Copy and Paste

            Quan Pham added a comment -

            A fix for this issue is available in Confluence Server and Data Center 8.5.18. Upgrade now or check out the Release Notes to see what other issues are resolved.

            Quan Pham added a comment - A fix for this issue is available in Confluence Server and Data Center 8.5.18. Upgrade now or check out the Release Notes to see what other issues are resolved.

            Hi All,

            Just a quick note on this one.

            We've completed the backport of this issue to our 8.5 LTS branch. The fix will be available as part of Confluence 8.5.18 which is due out in December.

            ff5dbf1888d4 - This fix we've deployed will resolve the duplicated tag issue in any page that can be loaded into the editor. Any page that is degraded to the point that it cannot be loaded will not be fixed by this change.

            Thanks,
            James Ponting
            Engineering Manager - Confluence Data Center

            James Ponting added a comment - Hi All, Just a quick note on this one. We've completed the backport of this issue to our 8.5 LTS branch. The fix will be available as part of Confluence 8.5.18 which is due out in December. ff5dbf1888d4 - This fix we've deployed will resolve the duplicated tag issue in any page that can be loaded into the editor. Any page that is degraded to the point that it cannot be loaded will not be fixed by this change. Thanks, James Ponting Engineering Manager - Confluence Data Center

            Does this fix also repair already affected pages?
            We have Confluence Datacenter 8.5.12 but still have pages with a lot of <span> elements and therefore those pages cannot be edited.
            Is there another fix for that?
            Thanks in advance.

            Jiraconfluence Solutionmgm sIT added a comment - Does this fix also repair already affected pages? We have Confluence Datacenter 8.5.12 but still have pages with a lot of <span> elements and therefore those pages cannot be edited. Is there another fix for that? Thanks in advance.

            Hi All,

            I've provided an update around backporting this change in the note in the summary of the ticket.

            The short answer is we're working on it, but it's a bit of a beast.

            We'll update when we have more to share.

            Thanks,
            James Ponting
            Engineering Manager - Confluence Data Center

            James Ponting added a comment - Hi All, I've provided an update around backporting this change in the note in the summary of the ticket. The short answer is we're working on it, but it's a bit of a beast. We'll update when we have more to share. Thanks, James Ponting Engineering Manager - Confluence Data Center

            A fix for this issue is available in Confluence Data Center 9.0.1.
            Upgrade now or check out the Release Notes to see what other issues are resolved.

            James Whitehead added a comment - A fix for this issue is available in Confluence Data Center 9.0.1. Upgrade now or check out the Release Notes to see what other issues are resolved.

            sypt.song added a comment -

            Confluence 7.19.22 is affected.

            sypt.song added a comment - Confluence 7.19.22 is affected.

            Confluence 7.19.20.0 is affected.

            Dhinesh Govindasamy added a comment - Confluence 7.19.20.0 is affected.

            8.6.2 Confluence version is affected

            Viktoria Boiko added a comment - 8.6.2 Confluence version is affected

              nbhawnani Niraj Bhawnani
              caronson Cole Aronson
              Affected customers:
              46 This affects my team
              Watchers:
              89 Start watching this issue

                Created:
                Updated:
                Resolved: