Emojis are not working in commit messages in pipelines page

Summary

If you write a commit message with emoji (something like 💥, for example), the emoji is correctly show from the "repository" page, but not from "pipelines" page.

Steps to reproduce

  • Commit some file to your repository, and use a emoji in the commit message (:boom:, for example)
  • Push commit to the server, and go to the "pipeline" page (%{project_path}/pipelines)
  • The commit message show as :boom: instead 💥

What is the current bug behavior?

Just a visual issue, is not a critical bug... but it's strange because in other pages the emojis are interpreted correctly.

What is the expected correct behavior?

The same behaviour like the rest of the pages with "commit messages", for example in %{project_path}/tree/master.

Relevant logs and/or screenshots

Correct behaviour:

image

Wrong behaviour:

image

Output of checks

I see this bug in my self-hosted Gitlab-ce server

Results of GitLab environment info

Expand for output related to GitLab environment info
System information
System:		Debian 9.9
Current User:	git
Using RVM:	no
Ruby Version:	2.5.3p105
Gem Version:	2.7.9
Bundler Version:1.17.3
Rake Version:	12.3.2
Redis Version:	3.2.12
Git Version:	2.21.0
Sidekiq Version:5.2.7
Go Version:	unknown

GitLab information Version: 11.11.2 Revision: 0da38977aca Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: PostgreSQL DB Version: 10.7 URL: https://code.vandalsweb.com HTTP Clone URL: https://code.vandalsweb.com/some-group/some-project.git SSH Clone URL: git@code.vandalsweb.com:some-group/some-project.git Using LDAP: no Using Omniauth: yes Omniauth Providers:

GitLab Shell Version: 9.1.0 Repository storage paths: default: /opt/gitlab-gitdata/repositories GitLab Shell path: /opt/gitlab/embedded/service/gitlab-shell Git: /opt/gitlab/embedded/bin/git

Results of GitLab application Check

Expand for output related to the GitLab application check
Checking GitLab subtasks ...

Checking GitLab Shell ...

GitLab Shell: ... GitLab Shell version >= 9.1.0 ? ... OK (9.1.0) Running /opt/gitlab/embedded/service/gitlab-shell/bin/check Check GitLab API access: OK Redis available via internal API: OK

Access to /var/opt/gitlab/.ssh/authorized_keys: OK gitlab-shell self-check successful

Checking GitLab Shell ... Finished

Checking Gitaly ...

Gitaly: ... default ... OK

Checking Gitaly ... Finished

Checking Sidekiq ...

Sidekiq: ... Running? ... yes Number of Sidekiq processes ... 1

Checking Sidekiq ... Finished

Checking Incoming Email ...

Incoming Email: ... Reply by email is disabled in config/gitlab.yml

Checking Incoming Email ... Finished

Checking LDAP ...

LDAP: ... LDAP is disabled in config/gitlab.yml

Checking LDAP ... Finished

Checking GitLab App ...

Git configured correctly? ... yes Database config exists? ... yes All migrations up? ... yes Database contains orphaned GroupMembers? ... no GitLab config exists? ... yes GitLab config up to date? ... yes Log directory writable? ... yes Tmp directory writable? ... yes Uploads directory exists? ... yes Uploads directory has correct permissions? ... yes Uploads directory tmp has correct permissions? ... yes Init script exists? ... skipped (omnibus-gitlab has no init script) Init script up-to-date? ... skipped (omnibus-gitlab has no init script) Projects have namespace: ... 4/1 ... yes 3/3 ... yes 6/4 ... yes 3/6 ... yes 3/7 ... yes 3/8 ... yes 6/9 ... yes 3/10 ... yes 3/11 ... yes 2/12 ... yes 3/13 ... yes 3/14 ... yes 3/15 ... yes 6/16 ... yes 3/17 ... yes 8/18 ... yes 2/19 ... yes 3/20 ... yes 3/21 ... yes 2/22 ... yes 3/23 ... yes 2/24 ... yes 3/25 ... yes 14/26 ... yes 2/27 ... yes 10/28 ... yes 5/29 ... yes 7/31 ... yes 2/32 ... yes 2/33 ... yes 14/34 ... yes 14/35 ... yes 2/36 ... yes 2/37 ... yes 6/38 ... yes 3/39 ... yes 17/40 ... yes 17/41 ... yes 2/42 ... yes 3/43 ... yes 2/44 ... yes 7/45 ... yes 3/46 ... yes 19/47 ... yes 19/48 ... yes 19/49 ... yes 19/50 ... yes 19/51 ... yes 19/52 ... yes 7/53 ... yes 19/54 ... yes 19/55 ... yes 19/56 ... yes 19/57 ... yes 19/58 ... yes 19/59 ... yes 19/60 ... yes 19/61 ... yes 3/62 ... yes 3/63 ... yes 19/71 ... yes 3/77 ... yes 3/81 ... yes 7/82 ... yes 2/83 ... yes 2/85 ... yes Redis version >= 2.8.0? ... yes Ruby version >= 2.5.3 ? ... yes (2.5.3) Git version >= 2.21.0 ? ... yes (2.21.0) Git user has default SSH configuration? ... yes Active users: ... 11

Checking GitLab App ... Finished

Checking GitLab subtasks ... Finished