Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit e01689a

Browse files
committed
lint
1 parent 31dfbd7 commit e01689a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

assets/javascripts/discourse/components/ai-artifact.gjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { tracked } from "@glimmer/tracking";
33
import { action } from "@ember/object";
44
import didInsert from "@ember/render-modifiers/modifiers/did-insert";
55
import { service } from "@ember/service";
6+
import { htmlSafe } from "@ember/template";
67
import DButton from "discourse/components/d-button";
78
import htmlClass from "discourse/helpers/html-class";
89
import getURL from "discourse/lib/get-url";
@@ -123,7 +124,7 @@ export default class AiArtifactComponent extends Component {
123124
height = 2000; // cap the height to a maximum of 2000px
124125
}
125126

126-
return `height: ${height}px;`;
127+
return htmlSafe(`height: ${height}px;`);
127128
}
128129
}
129130

0 commit comments

Comments
 (0)