Mermaid erDiagram does not render properly when an edit mode window is open

Steps to reproduce

Create a mermaid erDiagram:

erDiagram
	FOO ||--|{ BAR :baz

Switch to Preview
Diagram looks good

Switch back to edit
Open new tab next to in preview mode (ctrl-click the edit button)
Accents on the diagram dissappear
Close other tab
Accents re-appear

Expected result

Accents should always be there

Actual result

They are not

Environment

  • Operating system: Ubuntu 18.04
  • Obsidian version: 0.8.15

Possibly a weird upstream bug.