# Bug OP-4670 - In repository module some characters are wrongly removed in comments of commits after "format_text"

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Low |
| Module |  |
| Target versions | 7.4.5 |
| Observed in versions |  |
| Sprint | 7.4.5 |
| 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

Hi,

If a comment of commit contains the character ‘^’ or ‘\*’, that character is not displayed in :  
1\) The comment field of the list of revisions (URL “projects/<project_id>/repository”).  
2\) The detail of a revision (URL “projects/<project_id>/repository/revision/<revision_id>”).

The provided patch corrects that problem by replacing those characters by the corresponding HTML entities.

Best regards,

Nicolas Salguero.
