From 55cbbb8da9d604001f2886bbeeb52dda65ffb2b2 Mon Sep 17 00:00:00 2001 From: ruanyf Date: Thu, 14 May 2020 16:44:18 +0800 Subject: [PATCH] fix: li tag click bug #984 --- js/ditto.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ditto.js b/js/ditto.js index e870748..6daa3b3 100644 --- a/js/ditto.js +++ b/js/ditto.js @@ -178,7 +178,7 @@ function replace_symbols(text) { // replace symbols with underscore return text .replace(/, /g, ',') - .replace(/[&\/\\#,.+=$~%'":*?<>{}\ \]\[]/g, "-") + .replace(/[&\!\/\\#,.+=$~%'":*?<>{}\ \]\[]/g, "-") .replace(/[()]/g, ''); }