import Ember from "ember";

export default Ember.Helper.helper(function(value) {
  value = new Ember.Handlebars.SafeString(value[0] || "").string;
  value = value.replace(/(\r\n|\n|\r)/gm, "<br>");
  return new Ember.String.htmlSafe(value);
});

import Ember from "ember";

export default Ember.Helper.helper(function(value) {
  value = new Ember.Handlebars.SafeString(value[0] || "").string;
  value = value.replace(/(\r\n|\n|\r)/gm, "<br>");
  return new Ember.String.htmlSafe(
    Ember.Handlebars.Utils.escapeExpression(value)
  );
});

Add escapeExpression to the apply line helper
Add escapeExpression to the apply line helper
