From c7a017fbf75a15a6870545f44c57401c8e848e0a Mon Sep 17 00:00:00 2001 From: iainp5 Date: Sun, 27 Oct 2024 15:21:16 +0000 Subject: Only remove trailing asterixes --- play.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- cgit v1.2.3