# Bug OP-19358 - HTML numeric entities shown instead of Cyrillic characters in "My spent time" tooltip

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-19358

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Time tracking |
| Target versions | 17.9.0 |
| 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 | Alexander Coles |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

## **Subject**

My spent time — week view tooltip renders Cyrillic text as raw HTML numeric character references (`&#1058;&#1077;...`) instead of decoded characters

## **Preconditions**

  - OpenProject version:17.3.1

  - Deployment: Community

  - Browser: Zen Browser (Firefox-based), latest stable, Google Chrome 148.0.7778.168

  - OS: Windows

  - UI language: Russian (`ru`)

  - User has time entries logged on work packages whose **subject**, **project name**, and **activity name** contain Cyrillic characters.

  - No error messages observed in the browser JavaScript console while reproducing.

  - Network tab: the `/api/v3/time_entries` response contains the affected text correctly encoded as UTF-8 (e.g. `"Техподдержка, BIM и т.п."`) — the corruption appears only in the rendered tooltip DOM.

## **Steps to reproduce**

1.  Log in to OpenProject and set the account language to Russian (or any locale with non-ASCII characters in project/work-package/activity names).

2.  Open **My page → My spent time** (week calendar view).

3.  Ensure at least one time entry exists on a work package whose subject, project name, and activity name contain Cyrillic characters.

4.  Hover the mouse pointer over a time-entry block in the week grid.

5.  Observe the tooltip/popover that appears next to the block.

## **Actual behavior**

The tooltip displays Cyrillic text as raw HTML numeric character references instead of decoded characters. Example content visible in the tooltip:

    Проект: &#1058;&#1077;&#1093;&#1087;&#1086;&#1076;&#1076;&#1077;&#1088;&#1078;&#1082;&#1072; BIM &#1080; &#1090;.&#1087;.
    Учтено: #96510: csv2mdm | &#1055;&#1088;&#1086;&#1074;&#1077;&#1089;&#1090;&#1080; &#1072;&#1085;&#1072;&#1083;&#1080;&#1079; &#1080; &#1089;&#1086;&#1075;&#1083;&#1072;&#1089;&#1086;&#1074;&#1072;&#1090;&#1100; &#1087;&#1086;&#1083;&#1103; &#1088;&#1077;&#1077;&#1089;&#1090;&#1088;&#1086;&#1074;
    Деятельность: &#1056;&#1072;&#1079;&#1088;&#1072;&#1073;&#1086;&#1090;&#1082;&#1072;
    Часы: 7 ч
    Комментарий:

The time-entry block itself (behind the tooltip) renders the same strings correctly (`Техподдержка, BIM и т.п.`, `Провести анализ и согласовать поля реестров`). The labels of the tooltip (`Проект:`, `Учтено:`, `Деятельность:`, `Часы:`, `Комментарий:`) are also rendered correctly — only the dynamic field values are affected.

## **Expected behavior**

The tooltip should render Cyrillic (and any other non-ASCII) characters decoded, identical to how the same values appear on the time-entry block:

    Проект: Техподдержка, BIM и т.п.
    Учтено: #96510: csv2mdm | Провести анализ и согласовать поля реестров
    Деятельность: Разработка
    Часы: 7 ч
    Комментарий:

## **Screenshots**

Screenshot attached: shows a tooltip in the week view where project / work-package / activity values are displayed as `&#1xxx;` numeric character references. The corrupted region is the body of the tooltip (project, work-package subject, activity fields).

Insert into the report description with:

<br>

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/921297/content">

##
