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