Skip to content

Commit

Permalink
Merge pull request #1037 from svdb99/main
Browse files Browse the repository at this point in the history
Fix #1033
  • Loading branch information
cure53 authored Nov 29, 2024
2 parents 88a937f + b9e9087 commit 3b4b5e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/regexp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { seal } from './utils.js';
// eslint-disable-next-line unicorn/better-regex
export const MUSTACHE_EXPR = seal(/\{\{[\w\W]*|[\w\W]*\}\}/gm); // Specify template detection regex for SAFE_FOR_TEMPLATES mode
export const ERB_EXPR = seal(/<%[\w\W]*|[\w\W]*%>/gm);
export const TMPLIT_EXPR = seal(/\${[\w\W]*}/gm);
export const TMPLIT_EXPR = seal(/\$\{[\w\W]*}/gm); // eslint-disable-line unicorn/better-regex
export const DATA_ATTR = seal(/^data-[\-\w.\u00B7-\uFFFF]/); // eslint-disable-line no-useless-escape
export const ARIA_ATTR = seal(/^aria-[\-\w]+$/); // eslint-disable-line no-useless-escape
export const IS_ALLOWED_URI = seal(
Expand Down

0 comments on commit 3b4b5e9

Please sign in to comment.