Uploaded image for project: 'Confluence'
  1. Confluence
  2. CONFLUENCE-388

Handle new Confluence cloud ac:emoticon tags in which ac:emoji-fallback doesn't contain an actual emoji anymore

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 9.76.2
    • 9.76.2
    • XML
    • None
    • Unknown

    Description

      See https://forum.xwiki.org/t/confluence-import-broken-emoticon-import-with-new-confluence-format/16354

      Formerly, we could rely (or at least we thought we could rely) on ac:emoji-fallback containing the actual emoji, like in the following:

      <ac:emoticon ac:name="smile" ac:emoji-shortname=":slight_smile:" ac:emoji-id="1f642" ac:emoji-fallback="šŸ™‚" />
      

      (and, by the way, on ac:emoji-id containing the hexa code of the emoji)

      Now we can't, as code like this exists:

      <ac:emoticon ac:name="cross" ac:emoji-shortname=":cross_mark:" ac:emoji-id="atlassian-cross_mark" ac:emoji-fallback=":cross_mark:" />
      

      We need to rely on ac:name first, and only fall back on other options if we don't know the emoji.

      Attachments

        Activity

          People

            rjakse Raphaƫl Jakse
            rjakse Raphaƫl Jakse
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: