Avoid HTML escaping in selected option

This commit is contained in:
Talia 2024-12-19 15:55:03 +01:00
parent 79b2ef4890
commit 3f9ff76d93

View file

@ -267,7 +267,7 @@ export class BetterSelect extends HTMLElement {
/** @param {HTMLElement} option */
setOption(option) {
this.setValue(option.dataset.value, option.innerHTML)
this.setValue(option.dataset.value, option.innerText)
}
/**