Automatic line breaks split arrow ligature -> to - >

Steps to reproduce

Make sure an automatic line return will be inserted between - and >.

Expected result

The arrow should be display on the new line.

Actual result

The dash and the greater-than appear on separated line.

Environment

  • Operating system: Windows 10 Pro (10.0.18363)
  • Obsidian version: v0.11.0

Additional information

image

1 Like

I don’t understand, what’s the source of this?

ok I get this is a minor upstream bug

Also, I think, HTML comments should not use the arrow:

<!-- This is a HTML comment -->

renders as

<​!-- This is a HTML comment ⟶

in edit mode.

1 Like

Sorry, I never got the notification :frowning:

test | table
-- | --
here is an example | of the arrow -> thing bug

Here is a Gif, the below progress bar added over is bugged a little bug at least we get a preview of the behavior:
obsidian-arrow_ligature_bug

This comment thing can be fixed with this CSS snippet!

.cm-s-obsidian span.cm-comment { font-feature-settings: "liga" off; }

More info on the Obsidian Discord server, in this message of the #appearance channel.