added auto detect of html to enable wysiwyg edit of clips