toopay/bootstrap-markdown — pull request #5 by sman591 (2013-06-28 15:20:56+00:00)
Title: Removed cloning of textarea in DOM

Looking at the DOM changes being made on showPreview/hidePreview, the editor was making duplicate text areas. This fixes that- only hiding & showing is needed for the textarea- it doesn't need to be (and shouldn't be) rebuilt every time