Trying to use handlebars.js for templating but the library seems to ignore newlines.
What is the correct way to deal with newlines? Should they be replaced manually
Any solution that uses triple staches will open your application to XSS attacks unless you implement something to sanitize the HTML.
I would suggest using the tag rather than creating a custom helper.