Skip to content

Commit

Permalink
fix: code parser (#1203)
Browse files Browse the repository at this point in the history
oversight when reading js code with special characters from html pages

closes #1197
closes #1201
closes #1204
closes #1207
  • Loading branch information
khlevon committed Apr 13, 2023
1 parent b0c42ac commit 0d3f91b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils.js
Expand Up @@ -60,7 +60,7 @@ const ESCAPING_SEQUENZES = [
{ start: "'", end: "'" },
{ start: '`', end: '`' },
// RegeEx
{ start: '/', end: '/', startPrefix: /(^|[[{:;,])\s?$/ },
{ start: '/', end: '/', startPrefix: /(^|[[{:;,/])\s?$/ },
];

/**
Expand Down

0 comments on commit 0d3f91b

Please sign in to comment.