CSS div causes incorrect parsing of note links on the next line

Steps to reproduce

Create a CSS snippet:

 .signature {
 font-family: Gabriola; /**Choose a cursive font */
 text-align: right;
 font-size: x-large;
}

Put this in the snippets folder, turn it on in the settings.

Create a note with this text:

<div class="signature">- Viktor Frankl</div>
Source: [[Book − Man in Search of Meaning]]

Expected result

The line after the signature shows a properly displayed link to the note.

Actual result

The line after the signature only shows plain text, no links.

Environment

  • Operating system: Windows 10
  • Obsidian version: 0.10.0 (insider build)

Additional information

Changing themes doesn’t affect this behaviour.

Putting a single empty line after <div> solves the issue