File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -408,7 +408,7 @@ window.addEventListener('message', async (event) => {
408
408
}
409
409
// Otherwise, proceed as before
410
410
return {
411
- html : item . label ,
411
+ html : html_encode ( item . label ) ,
412
412
icon : item . icon ? `<img style="width: 15px; height: 15px; position: absolute; top: 4px; left: 6px;" src="${ html_encode ( item . icon ) } " />` : undefined ,
413
413
icon_active : item . icon_active ? `<img style="width: 15px; height: 15px; position: absolute; top: 4px; left: 6px;" src="${ html_encode ( item . icon_active ) } " />` : undefined ,
414
414
disabled : item . disabled ,
@@ -497,7 +497,7 @@ window.addEventListener('message', async (event) => {
497
497
}
498
498
// Otherwise, proceed as before
499
499
return {
500
- html : item . label ,
500
+ html : html_encode ( item . label ) ,
501
501
disabled : item . disabled ,
502
502
checked : item . checked ,
503
503
icon : item . icon ? `<img style="width: 15px; height: 15px; position: absolute; top: 4px; left: 6px;" src="${ html_encode ( item . icon ) } " />` : undefined ,
You can’t perform that action at this time.
0 commit comments