summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-10-27 15:21:16 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2024-10-27 15:21:16 +0000
commitc7a017fbf75a15a6870545f44c57401c8e848e0a (patch)
tree538fce6aaffa4a39f2fe1fc89a1faa538b6f0124
parentac994f2e4e8e1db0faa0a189683030fa390a40aa (diff)
download1989-dawn-of-freedom-c7a017fbf75a15a6870545f44c57401c8e848e0a.tar.gz
Only remove trailing asterixes
-rw-r--r--play.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/play.js b/play.js
index cf78f62..f786be2 100644
--- a/play.js
+++ b/play.js
@@ -812,7 +812,7 @@ function on_log(text) {
p.className = "h3"
}
- text = text.replace(/\*/g, "")
+ text = text.replace(/([a-zA-Z])\*/g, "")
p.innerHTML = text
return p
}