Skip to content

Commit aabe292

Browse files
authored
Merge pull request #1328 from YesWiki/alert-autofix-102
Potential fix for code scanning alert no. 102: DOM text reinterpreted as HTML
2 parents 0ed0943 + eb440b8 commit aabe292

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/bazar/presentation/javascripts/jquery.galleriffic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
const slideUrl = $aThumb.attr('href')
142142
const title = $aThumb.attr('title')
143143
const $caption = $li.find('.caption').remove()
144-
let hash = $aThumb.attr('name')
144+
let hash = $.galleriffic.normalizeHash($aThumb.attr('name') || '')
145145

146146
// Increment the image counter
147147
imageCounter++

0 commit comments

Comments
 (0)