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.
2 parents b7951cd + 5e935ca commit 43619dbCopy full SHA for 43619db
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}}
app/templates/crate/owners.hbs
@@ -57,7 +57,11 @@
57
{{/link-to}}
58
</div>
59
<div class='stats'>
60
- {{{ if user.email user.email " " }}}
+ {{#if user.email}}
61
+ {{user.email}}
62
+ {{else}}
63
+
64
+ {{/if}}
65
66
<div class='stats downloads'>
67
<button class='remove-owner small yellow-button' {{action 'removeOwner' user}}>Remove</button>
0 commit comments