From 2c5e8e2f6a4b484fab93ce7dd5d38d9fee5840e8 Mon Sep 17 00:00:00 2001 From: kevinz000 <2003111+kevinz000@users.noreply.github.com> Date: Mon, 8 Jun 2020 06:51:03 -0700 Subject: [PATCH] fix --- code/game/say.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/say.dm b/code/game/say.dm index 3cce5bcfc1..da8ecf5a7e 100644 --- a/code/game/say.dm +++ b/code/game/say.dm @@ -99,9 +99,9 @@ GLOBAL_LIST_INIT(freqtospan, list( /atom/movable/proc/say_emphasis(input) var/static/regex/italics = regex("\\|(?=\\S)(.*?)(?=\\S)\\|", "g") input = replacetext_char(input, italics, "$1") - var/static/regex/bold = regex("\+(?=\S)(.*?)(?=\S)\+", "g") + var/static/regex/bold = regex("\\+(?=\\S)(.*?)(?=\\S)\\+", "g") input = replacetext_char(input, bold, "$1") - var/static/regex/underline = regex("_+(?=\S)(.*?)(?=\S)\_", "g") + var/static/regex/underline = regex("_(?=\\S)(.*?)(?=\\S)_", "g") input = replacetext_char(input, underline, "$1") return input