mirror of
https://github.com/Av0idD4rk/packmate.git
synced 2026-10-24 20:09:26 +00:00
Исправил сдвиг пометки паттерна на один символ
This commit is contained in:
parent
28dec5a8fb
commit
fb72769737
@ -108,7 +108,7 @@
|
||||
raw = raw.substring(0, positionStart) + firstTag + raw.substring(positionStart);
|
||||
offset += firstTag.length;
|
||||
|
||||
const positionEnd = match.endPosition + offset;
|
||||
const positionEnd = match.endPosition + offset + 1;
|
||||
raw = raw.substring(0, positionEnd) + secondTag + raw.substring(positionEnd);
|
||||
offset += secondTag.length;
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user