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 @@ -1350,7 +1350,7 @@ class StandaloneMenu extends JSRootMenu {
13501350 text . style . display = 'flex' ;
13511351
13521352 const chk = doc . createElement ( 'span' ) ;
1353- chk . innerHTML = d . checked ? '\u2713' : '' ;
1353+ chk . innerText = d . checked ? '\u2713' : '' ;
13541354 chk . style . display = 'inline-block' ;
13551355 chk . style . width = '1em' ;
13561356 text . appendChild ( chk ) ;
@@ -1363,7 +1363,7 @@ class StandaloneMenu extends JSRootMenu {
13631363 } else {
13641364 if ( need_check_area ) {
13651365 const chk = doc . createElement ( 'span' ) ;
1366- chk . innerHTML = d . checked ? '\u2713' : '' ;
1366+ chk . innerText = d . checked ? '\u2713' : '' ;
13671367 chk . style . display = 'inline-block' ;
13681368 chk . style . width = '1em' ;
13691369 text . appendChild ( chk ) ;
You can’t perform that action at this time.
0 commit comments