Live Preview: Punctuation Marks and parenthesis after words that are bold/highlighted/math or after links gets pushed to next line

This one successfully fixes the dot carrying to the next line for me too. Unfortunately, it doesn’t work with link being carried without parentheses it’s in (the example is in my post up above).

Interesting, I thought it did fix that, but apparently it only works if the link in parenthesis is in a list. Or I really tested it in a list and in a normal paragraph, so not sure if there are other instances it does work in. It definitely works for me in a list, but not in a normal paragraph.

The problem also occurs with a plain space if it is at the end of the line and no longer fits into the line (in edit mode).

Version 1.11.7 (Installer 1.7.7)

Sandbox

Steps to reproduce

Sandbox

input text that wraps

italicize the last word in the line

add or remove letters to the last word until it fills all available space and you get this

Did you follow the troubleshooting guide? [Y/N]

Sandbox mode

Expected result

No whitespace at beginning of line

Actual result

Whitespace beginning of line

Environment

SYSTEM INFO:
Obsidian version: v1.11.7
Installer version: v1.7.7
Operating system: Darwin Kernel Version 24.1.0: Thu Oct 10 21:02:26 PDT 2024; root:xnu-11215.41.3~2/RELEASE_ARM64_T8122 24.1.0
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none


Additional information