# Multiline formatting hotkeys do not recognize

**URL:** <https://meta.discourse.org/t/multiline-formatting-hotkeys-do-not-recognize/204359>\
**Category:** UX\
**Tags:** pr-welcome\
**Created:** [September 24, 2021, 7:21am UTC](https://meta.discourse.org/t/multiline-formatting-hotkeys-do-not-recognize/204359 "2021-09-24T07:21:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![meglio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/meglio/32/71444_2.png) [@meglio](https://meta.discourse.org/u/meglio)\
**Post date:** [September 24, 2021, 7:21am UTC](https://meta.discourse.org/t/multiline-formatting-hotkeys-do-not-recognize/204359/1 "2021-09-24T07:21:09Z")

</div>

Start with a 3-lines post:

```plaintext
line 1
line 2 <- trailing space after the "2"
line 3

```

Now select lines 2 and 3, then press Command+B to mark all 3 lines “bold”. The result is:

 ![image](https://global.discourse-cdn.com/meta/original/3X/a/a/aaa8b6f92666ef831c69cd2db9fa09df77baf72d.png)

The formatting action does not recognize the trailing space and thus the resulting formatting is broken.

Should be easy to fix by only wrapping the trimmed version of the text and not touching the trailing spaces.
