trim tags before saving remove some debugging code
trim tags before saving
remove some debugging code

joshmarinacci/semantic-editor-js,jackrosenhauer/semantic-editor-js,jackrosenhauer/semantic-editor-js,joshmarinacci/semantic-editor-js