iOS: '--' auto-converted to '—' in code blocks

Steps to reproduce

  1. Type consecutive ‘-’ characters in a code block using keyboard
  2. Two characters are automatically converted into a single ‘—’

This consistently causes a syntax error in Mermaid diagrams.
I tried to change monospace font, it didn’t work.

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

Y

Expected result

The input should remain as two consecutive characters ‘--’

Actual result

Characters are converted into a single ‘—’

Environment

SYSTEM INFO:
Operating system: ios 18.6.2 (Apple iPad16,1)
Obsidian version: 1.10.6 (256)
API version: v1.10.6
Login status: not logged in
Language: en
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none

Hi. :waving_hand:

Think that is this:

1 Like

It works.Thanks a lot.