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 @@ -1340,7 +1340,7 @@ class StandaloneMenu extends JSRootMenu {
13401340 text . style . display = 'flex' ;
13411341
13421342 const chk = doc . createElement ( 'span' ) ;
1343- chk . innerHTML = d . checked ? '\u2713' : '' ;
1343+ chk . innerText = d . checked ? '\u2713' : '' ;
13441344 chk . style . display = 'inline-block' ;
13451345 chk . style . width = '1em' ;
13461346 text . appendChild ( chk ) ;
@@ -1353,7 +1353,7 @@ class StandaloneMenu extends JSRootMenu {
13531353 } else {
13541354 if ( need_check_area ) {
13551355 const chk = doc . createElement ( 'span' ) ;
1356- chk . innerHTML = d . checked ? '\u2713' : '' ;
1356+ chk . innerText = d . checked ? '\u2713' : '' ;
13571357 chk . style . display = 'inline-block' ;
13581358 chk . style . width = '1em' ;
13591359 text . appendChild ( chk ) ;
You can’t perform that action at this time.
0 commit comments