Skip to content

Commit 0d3f91b

Browse files
authored
fix: code parser (#1203)
oversight when reading js code with special characters from html pages closes #1197 closes #1201 closes #1204 closes #1207
1 parent b0c42ac commit 0d3f91b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const ESCAPING_SEQUENZES = [
6060
{ start: "'", end: "'" },
6161
{ start: '`', end: '`' },
6262
// RegeEx
63-
{ start: '/', end: '/', startPrefix: /(^|[[{:;,])\s?$/ },
63+
{ start: '/', end: '/', startPrefix: /(^|[[{:;,/])\s?$/ },
6464
];
6565

6666
/**

0 commit comments

Comments
 (0)