I second this. It is counterintuitive for several reasons, one of them being a violation of the original wikitext spec from which wikilinks are borrowed. The fact that there are numerous threads on this already shows that this is a thing that commonly trips people.
Also, auto-completion for aliased files in tables does not escape the pipe and thus produces broken links. One may or may not consider this to be a bug, but - most importantly - it would also be fixed by implementing this FR.
The bug Pipe Problems in tables: Live Preview doesn't play well with escaped alias mentioned by OP would also be resolved.
Edit: There appears to be another FR for this feature: Use of aliases in tables
Maybe the FRs should be merged.
To me this feels like a bug. Obsidian could check that if there is [[ open when a | character appears in a table, the | character should be considered to relate to the [[ link element, and not to the table structure.
Escaping the | character seems like a workaround to me, not an actual solution . (But good that at least a workaround exists already).
Create a table with an internal link using custom text using a |
Expected result
I expect that Live Preview and Reading mode would have the same behavior for custom internal link text where the pipe character needs to be escaped, like the help page describes.
Actual result
Links that are missing an escape before the pipe render and work in Live Preview, but do not work in Reading View.
SYSTEM INFO:
Obsidian version: v0.13.21
Installer version: v0.12.15
Operating system: Darwin Kernel Version 21.2.0: Sun Nov 28 20:28:54 PST 2021; root:xnu-8019.61.5~1/RELEASE_X86_64 21.2.0
Login status: logged in
Catalyst license: supporter
Insider build toggle: on
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Safe mode: on
Additional information
I’m new to Obsidian, and this came up when I was trying to add custom internal link text in a table for the first time.
I understand now that an escape character is required, but the different behavior between Live Preview and Reading View initially made it harder for me to determine what the problem was. The correct formatting would be clearer to new users if the link also did not work without an escape character in Live Preview.