alphagov/govuk_content_models — pull request #236 by vinayvinay (2014-10-23 11:16:46+00:00)
Title: [DISCUSS] Validate only govspeak fields for safe html

www.agileplannerapp.com/boards/173808/cards/5154

looking at the HTML validator in govspeak suggests that it is useful to validate that HTML generated from govspeak is safe. however, these checks seem unnecessary for non-govspeak fields, because rails ensures that safe html is rendered, and we take care to not mark user input as `.html_safe`.

this is blocking editors from adding html in the edition notes, which should be allowed.

i'll appreciate inputs from those who've worked on this area earlier to validate our understanding before we merge. git suggests: @jamiecobbett