bootstrap-markdown
bootstrap-markdown copied to clipboard
No way to dispose, causes DOM leaks

(from Chrome timeline tool, illustrating the increase in nodes after repeatedly creating and removing bootstrap-markdown elements from the dom. Note that GC is cleaning up my JS heap periodically, but nodes continues to climb. Over a longer time period, this becomes more evident)
After much digging, I've isolated my increase in nodes in my app over time to markdown. It appears that, upon removing a DOM element, markdown keeps references to those DOM elements in memory, preventing them from ever being freed.
I've looked through the documentation but can't find any way to actually dispose/destroy a markdown-enhanced element. Is there a way to do so, or is this a bug?
👍 Definitely need a way to destroy