mvdkwast / obsidian-copy-as-html

Obsidian plugin: copy document as HTML, including images
MIT License
48 stars 11 forks source link

Mermaid with \n hangs export #13

Closed mvdkwast closed 1 year ago

mvdkwast commented 1 year ago

Describe the bug If a node contains a newline (\n), the plugin will hang on export.

To Reproduce Create the following document :

```mermaid
flowchart TD
el(a\nb)