diff --git a/app/assets/javascripts/discourse/app/form-kit/components/fk/control/code.gjs b/app/assets/javascripts/discourse/app/form-kit/components/fk/control/code.gjs index acab741883d..7dada72dd26 100644 --- a/app/assets/javascripts/discourse/app/form-kit/components/fk/control/code.gjs +++ b/app/assets/javascripts/discourse/app/form-kit/components/fk/control/code.gjs @@ -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`); }