I have the following variable: \"hello↵↵world\". (the value is coming from a textarea)
The problem is when I ask Meteor to display it with {{content}}, everything ap
One way is to create a handlebar helper:
Handlebars.registerHelper 'breaklines', (text) -> text = text.replace /(\r\n|\n|\r)/gm, '' return text
and then to do so: (do not forget the three brackets!)
{{{breaklines content}}}