# Bug OP-1679 - [Emoji] Emojis not properly escaped in search results

Project: OpenProject
Status: rejected
URL: https://community.openproject.org/work_packages/OP-1679

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Low |
| Module |  |
| Target versions |  |
| Observed in versions |  |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

**Preconditions**

  - Emoji plugin installed.
  - Work package module activated.
  - Work package exists which has a description that contains text which ends on “s:” (e.g. when inserting a link via textile).

**Steps to reproduce**

1.  Search for work package with above named description.

**Actual behavior**

  - “s:” is not escaped but instead an emoji is displayed. This is not the case in the description itself.

**Expected behavior**

  - Correctly escaped as in description.

**Screenshot**

  - Search result:  
    ![](Bug-emoji-search1.png)
  - Corresponding description:  
    ![](Bug-emoji-search2.png)

<!-- end list -->

  - Link to example work package:
      - <mention class="mention" data-id="16685" data-type="work_package" data-text="#16685">#16685</mention>

**QA system**

  - openproject.org
  - OpenProject 4.0.0
