Display bug in source mode

test made in sandbox Obsidian 1.4.2 with Win10 family

Steps to reproduce

Starting from scratch, what are the steps to make the bug happen?
I create a note with a property LIST and I insert a long links
when I quit preview mode and go to source mode, the long links is not discontinued (see snapshots).
If I do a modification in source mode, the issue disapeared


mode source Capture d’écran 2023-08-02 151236

Please follow the bug report template and troubleshooting steps.

It’s unclear what is happening here to me

I create a new note with a property (type List), I insert a long link (more than 80 characters
In preview mode It seems ok but when I am in source mode the link is cutted in two lines

(in the real life, an issue occures when I reoragnize automatically the frontmatter)

Did you follow the troubleshooting guide? [Y/N]

YES

Expected result

in source mode the link have to be in one piece

Actual result

the link is cutted

Environment

SYSTEM INFO:
Obsidian version: v1.4.2
Installer version: v1.3.5
Operating system: Windows 10 Home 10.0.19045
Login status: logged in
Catalyst license: insider
Insider build toggle: on
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none


Additional information

It is possible to correct directly in source mode the link and after all is ok

That’s not an issue. It is semantically the same according to YAML.

Ok so the problem is with linter?
because when I lint a file with a “long” links, an issue occurs dur to the cutted
Capture d’écran 2023-08-02 190948
link

yeah, open a bug report to linter.

In fact this is a limitation of yaml /obsidian
look here: `processFrontMatter` creates undesired line break for long strings
we have to know that up to 80 digits link will be splitted

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