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

Anchor links to unicode emoji headings do not redirect correctly

XMLWordPrintable

      Description

      Clicking an anchor link linked to an emoji heading redirects only to the page (instead of the specific linked heading).

      Steps to Reproduce

      1. Add a title as unicode emoji
      2. Insert an emoji via unicode characters, eg, copy and paste these 👹👺) only heading on page1, there should be no text in 
      3. Copy the anchor link pointing to the emoji heading
      4. Paste the anchor link into another page (page2), and publish the page
      5. The anchor link will display in URL-encoded characters (even after publishing), and when clicking the link, the browser will redirect to page1 (but not the correct anchored section)

      Sample anchor storage format:

      <p><ac:link ac:anchor="%F0%9F%A5%B6-%F0%9F%91%BD%F0%9F%91%BD%F0%9F%91%BD"><ri:page ri:content-title="🥶" /></ac:link></p>
      



      Expected Results

      On clicking the anchored link, Confluence will redirect the browser to the respective anchored heading (and section).

      Actual Results

      On clicking the anchored link, Confluence redirects the browser to the page containing the anchored heading, but not to the anchored heading.

      Workaround

      Including text to the headings before emoji character will allow the anchored links to operate normally.

        1. CONFSERVER-100743-1.png
          CONFSERVER-100743-1.png
          645 kB
        2. CONFSERVER-100743-2.png
          CONFSERVER-100743-2.png
          72 kB
        3. CONFSERVER-100743-3.png
          CONFSERVER-100743-3.png
          724 kB
        4. image-2025-08-29-13-42-48-388.png
          image-2025-08-29-13-42-48-388.png
          44 kB
        5. image-2025-08-29-13-44-45-317.png
          image-2025-08-29-13-44-45-317.png
          7 kB
        6. image-2025-08-29-13-45-48-904.png
          image-2025-08-29-13-45-48-904.png
          16 kB

              ce8c3839f4a3 Tom Smallridge
              10fa531f7f9c Harrison
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: