Incorrect preview of
<url> link in last line of document
Steps to reproduce
- Create a new document, paste following markdown:
[Obsidian Forum](https://forum.obsidian.md/) <https://forum.obsidian.md/> https://forum.obsidian.md/ <https://forum.obsidian.md/>
Make sure that last line does not have linebreak (CR/LF or whatever your line endings are),
i.e. the last
> in the last URL is the last character in the document.
Position cursor somewhere before the last line.
Observe the rendering of the last line preview.
Link is rendered as underlined
There is a trailing
> character at the end.
If I add a linebreak after the final line, trailing
> disappears from the preview.
SYSTEM INFO: Obsidian version: v1.2.7 Installer version: v1.2.7 Operating system: Pop!_OS 22.04 LTS / 6.2.6-76060206-generic Login status: logged in Catalyst license: supporter Insider build toggle: off Live preview: on Legacy editor: off Base theme: dark Community theme: none Snippets enabled: 0 Restricted mode: on RECOMMENDATIONS: none
Last line in edit mode:
Last line in preview mode (cursor positioned before the last line):