mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-24 10:22:23 +00:00
fix: li tag click bug #984
This commit is contained in:
parent
18e372d162
commit
55cbbb8da9
@ -178,7 +178,7 @@ function replace_symbols(text) {
|
||||
// replace symbols with underscore
|
||||
return text
|
||||
.replace(/, /g, ',')
|
||||
.replace(/[&\/\\#,.+=$~%'":*?<>{}\ \]\[]/g, "-")
|
||||
.replace(/[&\!\/\\#,.+=$~%'":*?<>{}\ \]\[]/g, "-")
|
||||
.replace(/[()]/g, '');
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user