# Bug/nit: Strikethrough doesn't handle tilde (~)

**URL:** <https://community.bear.app/t/bug-nit-strikethrough-doesnt-handle-tilde/20027>\
**Category:** Bear Bug Report\
**Created:** [October 29, 2026, 5:49am UTC](https://community.bear.app/t/bug-nit-strikethrough-doesnt-handle-tilde/20027 "2026-10-29T05:49:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![column-role](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@column-role](https://community.bear.app/u/column-role)\
**Post date:** [October 29, 2026, 5:49am UTC](https://community.bear.app/t/bug-nit-strikethrough-doesnt-handle-tilde/20027/1 "2026-10-29T05:49:55Z")

</div>

- **Bear Version** : Version 2.9.3 (14672)
- **OS Version** : Tahoe 26.7.1 (25G241)
- **What were you doing** :
- **What feature did you use** :
- **What happened** :
- **What did you expect to happen** :

 ![CleanShot 2026-10-28 at 22.49.17@2x](https://europe1.discourse-cdn.com/flex013/uploads/bear/original/2X/e/eb57ad620e3517b6f969d9026b81255059d5fc30.png)

* * *

For reproducibility, you can copy:

```auto
### Bug: Strikethrough doesn't handle tilde
Before:
We expect this task to take ~2h
After, when struck through, gives us:
~~We expect this task to take ~2h~~

Slightly annoying because we have to manually add a backslash.

### Correct: Bold handles asterisk
In constrast, this works because asterisks (*) are handled properly:
5 * 6
when emboldened, gives us
**5 * 6**

```

---

<div class="post-metadata">

**Author:** ![rexikan](https://dub1.discourse-cdn.com/flex013/user_avatar/community.bear.app/rexikan/32/4117_2.png) [@rexikan](https://community.bear.app/u/rexikan)\
**Post date:** [November 2, 2026, 10:22am UTC](https://community.bear.app/t/bug-nit-strikethrough-doesnt-handle-tilde/20027/2 "2026-11-02T10:22:39Z")

</div>

Excellent detailed bug report! We will have a look at it.

---

<div class="post-metadata">

**Author:** ![rexikan](https://dub1.discourse-cdn.com/flex013/user_avatar/community.bear.app/rexikan/32/4117_2.png) [@rexikan](https://community.bear.app/u/rexikan)\
**Post date:** [November 3, 2026, 12:31pm UTC](https://community.bear.app/t/bug-nit-strikethrough-doesnt-handle-tilde/20027/3 "2026-11-03T12:31:38Z")

</div>

Actually, this works as expected and according to commonmark. It is read as two nested underlines, the first one `~2h~`, and the second one `~We expect this task to take ~2h~~`. This leaves the leading `~`.

This is actually the same as with emphase and strong. If you remove the space between the `*` and `6` you get the same situation (` **5 *6** ` having two nested emphases leaving the leading `*`). In the same way, if you add a space before the inner `~`, it will read as a bold.
