# A backslash automatically added before an asterisk in a codespan

**URL:** <https://community.postman.com/t/a-backslash-automatically-added-before-an-asterisk-in-a-codespan/88570>\
**Category:** Help Hub\
**Tags:** api-documentation, postmaneditor, bug\
**Created:** [February 11, 2026, 8:38am UTC](https://community.postman.com/t/a-backslash-automatically-added-before-an-asterisk-in-a-codespan/88570 "2026-02-11T08:38:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kwon0408-a86efe7c](https://avatars.discourse-cdn.com/v4/letter/k/3be4f8/32.png) [@kwon0408-a86efe7c](https://community.postman.com/u/kwon0408-a86efe7c)\
**Post date:** [February 11, 2026, 8:38am UTC](https://community.postman.com/t/a-backslash-automatically-added-before-an-asterisk-in-a-codespan/88570/1 "2026-02-11T08:38:49Z")

</div>

Whenever I use the Docs tab and type an asterisk in a codespan, like ``*``, and then make the editor lose focus, a backslash is automatically added before it, making ``\*``. This symptom is repeating: it becomes ``\\*``, ``\\\*`` and so on.

I am using Postman v11.84.2, the latest version at this moment, on Windows 11 25H2.

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [February 11, 2026, 10:56am UTC](https://community.postman.com/t/a-backslash-automatically-added-before-an-asterisk-in-a-codespan/88570/2 "2026-02-11T10:56:08Z")

</div>

Hey @kwon0408-a86efe7c 👋

Welcome to the Postman Community! :postman:

It looks like it applying the syntax for a multiple line comment but it is weird behaviour. Is it blocking you from doing something specific?

If you needed it, you could use the `codeblock` or the Markdown editor as a workaround?

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/4/d/4d8af59efd486dd7e25bda3cacfd845f721ee80e.png)

---

<div class="post-metadata">

**Author:** ![kwon0408-a86efe7c](https://avatars.discourse-cdn.com/v4/letter/k/3be4f8/32.png) [@kwon0408-a86efe7c](https://community.postman.com/u/kwon0408-a86efe7c)\
**Post date:** [February 12, 2026, 12:10am UTC](https://community.postman.com/t/a-backslash-automatically-added-before-an-asterisk-in-a-codespan/88570/3 "2026-02-12T00:10:39Z")

</div>

Currently I cannot share regexes containing asterisks, for instance `^[A-Za-z]{3}\*$`, so I am using a workaround excluding the asterisk out of the codespan like `^[A-Za-z]{3}\`\*`$` (Markdown: ``^[A-Za-z]{3}\`\*`$``).

The same thing happens when switching from Postman editor to Markdown editor, but not vice versa.

---

<div class="post-metadata">

**Author:** ![kwon0408-a86efe7c](https://avatars.discourse-cdn.com/v4/letter/k/3be4f8/32.png) [@kwon0408-a86efe7c](https://community.postman.com/u/kwon0408-a86efe7c)\
**Post date:** [February 23, 2026, 7:07am UTC](https://community.postman.com/t/a-backslash-automatically-added-before-an-asterisk-in-a-codespan/88570/5 "2026-02-23T07:07:03Z")

</div>

After a full-week off for the Lunar New Year, I got an update to v11.85.1-260219-0947 and checked this issue again.

First I thought this was solved so that I wrote a reply here this morning it was solved, but deleted it just a minute ago after finding it was not. Further researches are following:

- `*` becomes `\*`.
- `**` retains itself.
- ` ***` becomes `** \*`.
- ` **** ` retains itself.
- ` ***** ` becomes `\*`.
- ` ******` becomes `** `, and so on.

It seems to be related to auto-formatting because I spotted some sequences changing into something like `_\_` (Though I cannot remember what was the original string) during this test.

---

<div class="post-metadata">

**Author:** ![darrelajonas](https://avatars.discourse-cdn.com/v4/letter/d/cab0a1/32.png) [@darrelajonas](https://community.postman.com/u/darrelajonas)\
**Post date:** [May 15, 2026, 7:37am UTC](https://community.postman.com/t/a-backslash-automatically-added-before-an-asterisk-in-a-codespan/88570/6 "2026-05-15T07:37:21Z")

</div>

I can second this. I can use the Markdown editor to change `\*Hello world\*` to `*Hello world*`) but as soon as I view the Postman collection normally again (i.e. come out of the Markdown editor) it changes back to `\*Hello world\*`. Plus sometimes if I click out of the collection and then back into it again I end up with `\\*Hello world\\*`, then `\\\*Hello world\\\*`, and so on.

Basically you can’t include any `*` inside a single-line or multi-line code block without Postman messing it up.

PS: Running the latest version of the desktop application right now (v10.12.6) but the bug occurs in the the online editor too.
