mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 08:06:57 +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);
|
||
|
});
|