DEV: Fix unsafe binding warnings (#28317)
e.g. ``` WARNING: Binding style attributes may introduce cross-site scripting vulnerabilities; please ensure that values being bound are properly escaped. For more information, including how to disable this warning, see https://deprecations.emberjs.com/v1.x/#toc_binding-style-attributes. Style affected: \"height: 60px\" ```
This commit is contained in:
parent
d217a1756d
commit
2a193f2173
|
@ -19,7 +19,7 @@ export default class FKControlCode extends Component {
|
|||
return;
|
||||
}
|
||||
|
||||
return `height: ${htmlSafe(escapeExpression(this.args.height) + "px")}`;
|
||||
return htmlSafe(`height: ${escapeExpression(this.args.height)}px`);
|
||||
}
|
||||
|
||||
<template>
|
||||
|
|
|
@ -17,7 +17,7 @@ export default class FKControlComposer extends Component {
|
|||
return;
|
||||
}
|
||||
|
||||
return `height: ${htmlSafe(escapeExpression(this.args.height) + "px")}`;
|
||||
return htmlSafe(`height: ${escapeExpression(this.args.height)}px`);
|
||||
}
|
||||
|
||||
<template>
|
||||
|
|
|
@ -17,7 +17,7 @@ export default class FKControlTextarea extends Component {
|
|||
return;
|
||||
}
|
||||
|
||||
return `height: ${htmlSafe(escapeExpression(this.args.height) + "px")}`;
|
||||
return htmlSafe(`height: ${escapeExpression(this.args.height)}px`);
|
||||
}
|
||||
|
||||
<template>
|
||||
|
|
Loading…
Reference in New Issue