fix sound tags

This commit is contained in:
polv committed 2022-04-28 11:34:36 +07:00
1 parent 00efde8f22
commit 1d7784cafa
3 files changed
+86 -12

No files matched your search

+1 -1
View File
@@ -128,7 +128,7 @@
post: ']'
}
if (src.startsWith(soundTag.pre) && src.endsWith(soundTag.post)) {
src = src.substring(soundTag.pre, src.length - soundTag.post)
src = src.substring(soundTag.pre.length, src.length - soundTag.post.length)
}
try {