powmedia/backbone-forms — pull request #127 by MaceWindu (2012-09-20 12:55:23+00:00)
Title: Text-only error and help messages support

Help and validation errors could contain html markup, that will be added to form. Such functionality not always required and could break markup, if validation message contains data from input that could accept characters. Maybe with some applications we can have an XSS attack vector here.

I've added following options to Form options object:
htmlHelp : true
htmlErrors : true
New options set to 'true' by default to preserve current code behavior, but I think the best way is to set at least htmlErrors to 'false' by default