mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-23 20:49:06 +01:00
Fix bug
This commit is contained in:
parent
4aabc08f8a
commit
259a529bca
@ -110,6 +110,8 @@ const elements = [
|
|||||||
for (let i = 1; i < code.length; i++) {
|
for (let i = 1; i < code.length; i++) {
|
||||||
const char = code[i];
|
const char = code[i];
|
||||||
if (char == '\\') {
|
if (char == '\\') {
|
||||||
|
str += char;
|
||||||
|
str += code[i + 1] || '';
|
||||||
i++;
|
i++;
|
||||||
continue;
|
continue;
|
||||||
} else if (char == begin) {
|
} else if (char == begin) {
|
||||||
@ -140,6 +142,8 @@ const elements = [
|
|||||||
for (let i = 1; i < code.length; i++) {
|
for (let i = 1; i < code.length; i++) {
|
||||||
const char = code[i];
|
const char = code[i];
|
||||||
if (char == '\\') {
|
if (char == '\\') {
|
||||||
|
regexp += char;
|
||||||
|
regexp += code[i + 1] || '';
|
||||||
i++;
|
i++;
|
||||||
continue;
|
continue;
|
||||||
} else if (char == '/') {
|
} else if (char == '/') {
|
||||||
|
Loading…
Reference in New Issue
Block a user