case insensititvy

このコミットが含まれているのは:
Henry Jameson 2023-06-05 21:57:36 +03:00
コミット 0109724a5f
1個のファイルの変更2行の追加2行の削除

ファイルの表示

@ -150,8 +150,8 @@ export default {
if (Array.isArray(item)) {
const [opener, children, closer] = item
let Tag = getTagName(opener)
if (Tag === 'script') Tag = 'js-exploit'
if (Tag === 'style') Tag = 'css-exploit'
if (Tag.toLowerCase() === 'script') Tag = 'js-exploit'
if (Tag.toLowerCase() === 'style') Tag = 'css-exploit'
const fullAttrs = getAttrs(opener, () => true)
const attrs = getAttrs(opener)
const previouslyMentions = currentMentions !== null