We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3420c5e commit 860464fCopy full SHA for 860464f
scripts/check-redirects-on-rename.ts
@@ -275,16 +275,6 @@ function extractStringValue(
275
if (i + 1 < content.length) {
276
const nextChar = content[i + 1];
277
278
- // Special case: \\" should be parsed as \" (escaped quote)
279
- // In JavaScript: \\ escapes the backslash, \" escapes the quote
280
- // So \\" becomes \" (backslash + quote) in the string value
281
- if (nextChar === '\\' && i + 2 < content.length && content[i + 2] === quoteChar) {
282
- // This is \\" which should be parsed as \" (escaped quote)
283
- value += '\\' + quoteChar;
284
- i += 3;
285
- continue;
286
- }
287
-
288
// Handle escaped quote, backslash, and other escape sequences
289
if (nextChar === quoteChar || nextChar === '\\') {
290
value += char + nextChar;
0 commit comments