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