silverstripe/silverstripe-framework — pull request #3513 by JorisDebonnet (2014-09-27 20:40:09+00:00)
Title: Moving NoHTML function from Text to StringField

This change will make the NoHTML function available for all StringField fields instead of just Text. Particularly useful for Varchar fields.

Useful, for example, when people use a TextareaField for a Varchar and have newlines in them that they sometimes want to hide.