We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23a8b0d commit 1abf285Copy full SHA for 1abf285
packages/@glimmer/runtime/lib/compiled/opcodes/content.ts
@@ -96,11 +96,7 @@ APPEND_OPCODES.add(Op.AppendHTML, (vm) => {
96
let reference = check(vm.stack.pop(), CheckReference);
97
98
let rawValue = valueForRef(reference);
99
- let value = isEmpty(rawValue)
100
- ? ''
101
- : isTrustedHTML(rawValue)
102
- ? (rawValue)
103
- : String(rawValue);
+ let value = isEmpty(rawValue) ? '' : isTrustedHTML(rawValue) ? rawValue : String(rawValue);
104
105
vm.elements().appendDynamicHTML(value);
106
});
0 commit comments