Sometimes formatting is incorrect due to line spacing.
I’m unsure if this is due to the font or some other cause.
Here’s an example:
https://youneedawiki.com/app/page/1mbfPySkYAQfMydykD9zw3mSbepVZ9hYvs3KTgghk9aI?p=16cQwm-gWXKCLAt7zJvIe-hWLTl5EzVdA
Workaround:
Select the text > Format > line-spacing: 1.5 > Format > line-spacing: 1