A quoted paragraph after a link reference definition and a blank line disappears: it is taken as the definition's title

Steps to reproduce

Paste each sample into its own note and open it in Reading view.

Sample 1:

[1]: https://example.com

"To be or not to be."

Next paragraph.

Sample 2 (a parenthesized line does the same):

[1]: https://example.com

(See the note below.)

Next paragraph.

Sample 3 (a quote left open):

[1]: https://example.com

"Unclosed quote

Next paragraph with a [link][1].

Did you follow the troubleshooting guide?

Yes (reproduced in a fresh vault, no community plugins).

Expected result

A blank line ends a link reference definition (CommonMark 4.7: the title may start on the next line, but not after a blank line). So:

  • Samples 1 and 2: the quoted or parenthesized line is a paragraph of its own, shown in Reading view.
  • Sample 3: [1] is defined, and [link][1] is a link.

Actual result

  • Samples 1 and 2: the line is read as the title of [1] and is not shown at all. Reading view shows only Next paragraph., and getFileCache().sections has one definition section over the first three lines. A quotation on a line of its own is a normal paragraph, and it silently vanishes.
  • Sample 3: the definition is not read at all. Reading view shows [1]: https://example.com as text, and [link][1] stays text.

A line of text right after the definition, with no blank line, is a title as CommonMark says, and is handled correctly.

Environment

SYSTEM INFO:
	Obsidian version: 1.14.5
	Installer version: 1.14.4
	Operating system: Windows 11 Pro 10.0.26300
	Login status: not logged in
	Language: en
	Insider build toggle: off
	Live preview: on
	Base theme: adapt to system
	Community theme: none
	Snippets enabled: 0
	Restricted mode: on

RECOMMENDATIONS:
	none

Fresh vault, no community plugins, default theme. Also reproduced on the current Catalyst build.

Additional information

Re-paste “Show debug info” before posting.


Credit: found by @saberzero1 with the remark-obsidian parity harness; I re-checked it on 1.14.5 and the current Catalyst build.

1 Like