While looking at Tags when Item Text is Underlined behave wonky, I notice several buggy behaviours with underlining and other formatting. I’ll start with this one:
With “show markdown” off, when pressing a hotkey to enable/disable formatting, and then typing a space in front of another space, the formatting is changed for the space in front rather than the typed space:
- Enter the following on a line:
This is a line of underlined text. Select it and click U to underline it.
- Place the cursor after “is”, and press the underline hotkey.
- Type a space and the word “not”.
Expected result (markdown turned on afterwards to show it, in the second line):
The same thing happens with bold and italic, and if you try to add an underlined word to plain text.
With “show markdown” on, following the same steps, it’s much worse. As soon as you press the underline hotkey in step 2, you get this:
And the actual result after step 3 (second line is the same thing, showing the markdown):