Skip to content

Commit

Permalink
chore(deprecation): return html safe strings for style assignments
Browse files Browse the repository at this point in the history
  • Loading branch information
anehx committed Jul 30, 2024
1 parent ef4b9af commit c756009
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/form-builder/addon/components/cfb-slug-input.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default class CfbSlugInputComponent extends Component {
}

get inputStyle() {
return this.padding ? htmlSafe(`padding-left: ${this.padding};`) : "";
return htmlSafe(this.padding ? `padding-left: ${this.padding};` : "");
}

get displayValue() {
Expand Down

0 comments on commit c756009

Please sign in to comment.