markitup/1.x — pull request #22 by alexey-sveshnikov (2013-07-11 18:50:14+00:00)
Title: make markItUpRemove function idempotent

Hi,

here are small fix that makes markItUp function idempotent. Old version wasn't idempotent since $([]).replaceWith($$) wipes original contents of $$. So when you're doing remove() twice original textarea disappears.