LeSuisse/vue-dompurify-html

Purified Content Somehow Duplicated to Sibling Element

lostncg opened this issue · 2 comments

Reproducible Demo:
https://codesandbox.io/s/cool-moon-3hdvjh?file=/src/App.vue

When the element is injected with v-dompurify-html, if its both siblings (before && after) are dynamic rendered (eg: v-if), somehow the purified content will be duplicated to its sibling element above.

Hello,

Thanks for the bug report with a reproduction scenario. I will check what's going on.

Fixed in 2.5.2.