Pipe Problems in tables: Live Preview doesn't play well with escaped alias

Steps to reproduce

  1. 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.

Source

Reading View (Expected Behavior)

Screenclip_2022-01-21 11.19.24_5X11bX

Live Preview (Broken Link Renders)

Screenclip_2022-01-21 11.18.57_bq67wp

Environment

  • Operating system: MacOS Monterrey
  • Debug info:
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.

It’s possible that at some point we don’t require escaping for reader to work.