discourse/app/assets/javascripts/discourse-common/addon/helpers/html-safe.js
2020-09-04 13:42:47 +02:00

7 lines
189 B
JavaScript

import { registerUnbound } from "discourse-common/lib/helpers";
import { htmlSafe } from "@ember/template";
registerUnbound("html-safe", function (string) {
return htmlSafe(string);
});