mirror of
https://github.com/discourse/discourse.git
synced 2024-12-15 05:13:43 +08:00
7 lines
189 B
JavaScript
7 lines
189 B
JavaScript
|
import { htmlSafe } from "@ember/template";
|
||
|
import { registerUnbound } from "discourse-common/lib/helpers";
|
||
|
|
||
|
registerUnbound("html-safe", function (string) {
|
||
|
return htmlSafe(string);
|
||
|
});
|