Simplified the fix of pasting html content into comment