fix: li tag click bug #984

This commit is contained in:
ruanyf
2020-05-14 16:44:18 +08:00
parent 18e372d162
commit 55cbbb8da9
+1 -1
View File
@@ -178,7 +178,7 @@ function replace_symbols(text) {
// replace symbols with underscore
return text
.replace(/, /g, ',')
.replace(/[&\/\\#,.+=$~%'":*?<>{}\ \]\[]/g, "-")
.replace(/[&\!\/\\#,.+=$~%'":*?<>{}\ \]\[]/g, "-")
.replace(/[()]/g, '');
}