Possible fix for Issue 11

If codeContent is added before editor is created and if codeContent has html tags, they are interpreted as such during replaceWith.