修复escape末尾字符串丢失问题
This commit is contained in:
@ -17,6 +17,7 @@ export function escape(str: string) {
|
||||
prev = i + 1
|
||||
}
|
||||
}
|
||||
buffer.push(str.substring(prev))
|
||||
return buffer.join('')
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user