Fix bug causing div tag to end up in edit box.