Handling of aliases in tables - | isn't automatically escaped

Steps to reproduce

  1. Create a table:
    ||
    |-|
    ||
  2. In a cell of the table, type ‘[’ twice to enter a link.
  3. Select an alias entry from the dropdown (i.e. an alias created in the yaml frontmatter of a page).

Expected result

Assume that the entry selected from the dropdown is for a page called page using the alias alias, I would expect to see:
||
|-|
|[[page\|alias]]|

Actual result

||
|-|
|[[page|alias]]|

That is to say that v0.9.17 doesn’t recognise that the link is being created in a table and automatically escape the pipe preceding the alias.

Pretty minor, but it would be good to have tables, automatic entry of links, and aliases features work seamlessly together.

Environment

  • Operating system: Windows 10
  • Obsidian version: v.0.9.17

Thanks

Thanks for an awesome product, and for the great ongoing feature development and support.

3 Likes

Ran into this on 0.9.22! Just posting to say I would love a fix =)

I’m experiencing this issue on 0.10.6, I would appreciate a fix as well. This is just a minor issue though, the latest update is great! :slight_smile: