keystonejs/keystone — pull request #753 by kumo (2014-11-30 15:25:57+00:00)
Title: Filter line and paragraph separators

After pasting some text into a Types.Input field I realised that the search and filtering no longer worked because the text contained a line separator. I found that whereas JSON can contain line and paragraph separators, JavaScript strings cannot. This patch strips the line and paragraph separators from the Types.Input and Types.Textarea fields.