Skip to content

Commit 94f7938

Browse files
authored
Merge pull request #27 from paule32/alert-autofix-46
Potential fix for code scanning alert no. 46: DOM text reinterpreted as HTML
2 parents 8fc0039 + 4583bef commit 94f7938

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/__pycache__/_internal/bootstrap/js/easyui/src/jquery.tabs.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -659,9 +659,9 @@
659659
var tmp = $('<span></span>');
660660
for(var i=0; i<tabs.length; i++){
661661
var p = tabs[i];
662-
tmp.html(p.panel('options').title);
662+
tmp.text(p.panel('options').title);
663663
var title = tmp.text();
664-
tmp.html(which);
664+
tmp.text(which);
665665
which = tmp.text();
666666
if (title == which){
667667
tab = p;

0 commit comments

Comments
 (0)