Added html sanitization.
Fix replace of br before saving inserted text.