Skip to content

Commit 6f55c13

Browse files
committed
allow vocabulary term descriptions to be rendered as raw markup.
1 parent 45a4406 commit 6f55c13

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

packages/frontend/app/components/school-vocabulary-term-manager.gjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,8 @@ export default class SchoolVocabularyTermManagerComponent extends Component {
313313
/>
314314
</EditableField>
315315
{{else}}
316-
{{this.description}}
316+
{{! template-lint-disable no-triple-curlies }}
317+
{{{this.description}}}
317318
{{/if}}
318319
</div>
319320
</div>

packages/ilios-common/addon/components/detail-terms-list-item.gjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ export default class DetailTermsListItem extends Component {
5858
{{#if @canEdit}}
5959
{{#if this.showTooltip}}
6060
<IliosTooltip @target={{this.detailTermsListItemElement}}>
61-
{{@term.description}}
61+
{{! template-lint-disable no-triple-curlies }}
62+
{{{@term.description}}}
6263
</IliosTooltip>
6364
{{/if}}
6465
<button type="button" {{on "click" (fn @remove @term)}}>

packages/ilios-common/addon/components/selectable-terms-list-item.gjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ export default class SelectableTermsListItem extends Component {
5353
>
5454
{{#if this.showTooltip}}
5555
<IliosTooltip @target={{this.selectableTermsListItemButtonElement}}>
56-
{{@term.description}}
56+
{{! template-lint-disable no-triple-curlies }}
57+
{{{@term.description}}}
5758
</IliosTooltip>
5859
{{/if}}
5960
<span data-test-title>{{@term.title}}</span>

0 commit comments

Comments
 (0)