Encode HTML entities coming in from quote/paste