Autopair should not be triggered when the next character is symbol

Steps to reproduce

  • Copy and paste *a* (or ==a== or any other inline formats).
  • Press ` before *a*

Expected and actual behavior

Only a single ` is expected to be inserted, but actually two ` are inserted, resulting in ``*a*.

Discussion

When pressing * before a, only a single * is inserted. Therefore, only a single ` should be inserted when ` pressed before *a*.

4 Likes

Makes sense. It does seem inconsistent.

screenshot_2022-08-25_12-59-53

Similarly, it should not be triggered immediately after. I often encounter this when trying to type an apostrophe after a linked name ([[CawlinTeffid]]'s).

Actually, formatting like * is doubled in that situation, too, but I think it shouldn’t be.

2 Likes

Related to Auto pair single quotes after closing bracket disrupts possessive apostrophe

1 Like

will be fixed in v1.5. No ETAs

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.