# Bug OP-5224 - WYSIWYG editor incorrectly interprets underscores in function names as italics

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

## Open points

_No work packages_

## Details

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

We came across this by accident when asking a developer to look at a function. The function name follows the older naming method of using underscores between the words:

```text
function this_is_an_example(){

}
```

You can insert it using the "Insert code snippet", but you cannot type it directly using this editor:

![](/api/v3/attachments/14668/content)

  

I know it's only a small issue, but we're hoping it's fixable because it is proving a bit of an issue for our devs trying to talk about places in our codebase.

Note: I  tested the WYSIWYG editor in the description and in the comments fields so I would presume this is present where ever the editor is used.
