Fix number arguments in "allowTags" Handlebars.js helper
Remove "apply" Handlebars.js helper
Enforce HTML sanitization
Sanitize messages at server side
Use "replace" helper instead of "nl2br" in HBS.js templates