Tables with links inside not showing correct width in source mode

Steps to reproduce

Switch to source mode.
Copy-paste the following markdown:

| column A | column B |
| -------- | -------- |
| blabla   |          |
| [[link]]     |          |

The column width is respected when the [[ and ]] of the link are visible - if it is selected or the cursor is inside the link:
Снимок экрана 2023-08-02 в 14.21.28

Снимок экрана 2023-08-02 в 14.21.15

Did you follow the troubleshooting guide? Yes

Expected result

The column width would be respected regardless of the disappearing [[ and ]].

Actual result

If the cursor is outside, the width is being shrinked by 4 - the number of the “disappearing” characters (the white bar is the cursor):
Снимок экрана 2023-08-02 в 14.21.07


Obsidian version: v1.4.2
Installer version: v1.3.5
Operating system: Darwin Kernel Version 20.6.0: Thu Jul 6 22:12:47 PDT 2023; root:xnu-7195.141.49.702.12~1/RELEASE_X86_64 20.6.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
Restricted mode: on


Additional information

no sorry, I don’t consider this a bug. Open a feature request.

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