We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1334323 commit cedbe79Copy full SHA for cedbe79
app/helpers/html-safe.js
@@ -0,0 +1,8 @@
1
+import { helper } from '@ember/component/helper';
2
+import { htmlSafe as markAsSafe } from '@ember/template';
3
+
4
+export function htmlSafe([content] /*, hash*/) {
5
+ return markAsSafe(content);
6
+}
7
8
+export default helper(htmlSafe);
app/templates/components/crate-readme.hbs
@@ -1 +1 @@
-{{{rendered}}}
+{{html-safe rendered}}
0 commit comments