Was it intentional to include a space when formatting text? Is there a way around it?

Hey, I’m trying to clarify if this was an intentional change made by the Obsidian team, or whether I should submit a bug report for it. In the meantime, I would also like to see if I am able to find some way to workaround it to suit my own note-taking style.

What I’m trying to do

As far as I’m aware, the most recent update related to the Editor and to my question is “Editor: Formatting commands for bold, italic, etc are now context-aware. For example, “Toggle bold” inside a bolded sentence will un-bold the sentence.” updated on 31 Aug 2023.

For example, notice this sentence: “It takes a lot of trial and error to accomplish difficult tasks.”
Prior to the update, highlighting text such as "trial and error " (with the space) before pressing a formatting key combination such as CTRL+B (bold) would cause only “trial and error” to be highlighted without the space, like so:

However, recently, highlighting the same text and pressing the formatting key combination causes the space to also be included in the formatting, like so:

My question is whether this was something intentional? I was very used to the old one as it excluded the space from formatting, which doesn’t cause the text after that to also be bolded with no ending asterisks. If this was intentional, is there any way to circumvent around this?


1 Like