discourse/app/assets/javascripts/discourse-common/addon/helpers/html-safe.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
248 B
JavaScript
Raw Normal View History

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