Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-10663

Unicode emojis are garbled in markdown rendered view

    XMLWordPrintable

Details

    Description

      Summary

      The unicode emojis are not rendered correctly in markdown view in Bitbucket Server, however in the raw and diff view the rendering performed by the browser is correct.

      Environment

      Bitbucket 5.8.0

      Steps to Reproduce

      1. Create README.md
      2. Put the content
         📦 🚚 Text with smiles 🚚 📦
      1. Commit and push into Bitbucket managed repository
      2. Check the repository home page with README preview
      3. Check the Source view

      Expected Results

      The unicode emojis rendered correctly as in JIRA: 📦 🚚 Text with smiles 🚚 📦

      Actual Results

      📦 🚚 Text with smiles 🚚 📦

      Notes

      However in Diff and raw file view everything is fine, because the markdown is not rendered there

      Workaround

      Use classical emojis in markdown file: https://www.webpagefx.com/tools/emoji-cheat-sheet/

      Attachments

        1. test.md
          0.2 kB

        Issue Links

          Activity

            People

              fdoherty@atlassian.com Frank Doherty
              ashaleev Anton Shaleev
              Votes:
              13 Vote for this issue
              Watchers:
              21 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Backbone Issue Sync