mvdkwast / obsidian-copy-as-html

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

Callout as table is placed at end of text #24

Closed cristianmtr closed 1 year ago

cristianmtr commented 1 year ago

Describe the bug

When exporting a text with a callout and with the option "Render some elements as tables" on, the callout is pasted at the end, instead of its original place.

To Reproduce

Text first

> [!info] A callout
> Callout text.

Second text.

Export looks like

Text first
Second text.
A callout
Callout text.

Expected behavior

I'd expect

Text first
A callout
Callout text.
Second text.

Desktop, Windows 10, Obsidian 1.1.16, plugin version 0.4.0

mvdkwast commented 1 year ago

Hi @cristianmtr, thanks for the report and test-case, I can reproduce the issue.

mvdkwast commented 1 year ago

Fixed in release 0.4.2