mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 01:56:01 -05:00
3 lines
153 B
JavaScript
3 lines
153 B
JavaScript
import { htmlHelper } from 'discourse/lib/helpers';
|
|
|
|
export default htmlHelper(str => Discourse.Utilities.escapeExpression(str).replace(/\n/g, "<br>"));
|