mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2025-01-20 01:22:59 +08:00
Allow HTML in CandidateBox item. Fixes #1835
This commit is contained in:
parent
4d366525c1
commit
810d084e21
@ -85,7 +85,7 @@ class CandidateBox {
|
||||
};
|
||||
|
||||
candidateListLIElement.className = "hg-candidate-box-list-item";
|
||||
candidateListLIElement.textContent = this.options.display?.[candidateListItem] || candidateListItem;
|
||||
candidateListLIElement.innerHTML = this.options.display?.[candidateListItem] || candidateListItem;
|
||||
candidateListLIElement.onclick = (e = getMouseEvent()) =>
|
||||
onItemSelected(candidateListItem, e);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user