Skip to content

Commit

Permalink
Merge pull request #233 from statikbe/KarelJanVanHaute/issue92
Browse files Browse the repository at this point in the history
&-character is displayed as & in chip.component.ts
  • Loading branch information
Numkil authored Dec 2, 2023
2 parents 85f60a7 + 8f76470 commit cea6ae1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tailoff/js/components/chip.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,8 @@ class ChipElement {
}

private setTriggerText() {
const text = this.getTriggerText();
this.triggerTextElement.innerText = text;
const text = new DOMParser().parseFromString(this.getTriggerText(), "text/html");
this.triggerTextElement.innerText = text.documentElement.textContent;
}

private setTriggerLabel() {
Expand Down

0 comments on commit cea6ae1

Please sign in to comment.