reworked text sanitization
bbcodes supported by discourse are now left in place