From 1e1c5dfda168a1b4d50c191d15f897ea53c60247 Mon Sep 17 00:00:00 2001 From: VMSolidus Date: Sun, 8 Feb 2026 16:15:59 -0500 Subject: [PATCH] Fix Credit Symbol On Paper (#21829) I have a massive migraine right now so I threw this problem at Antigravity-Gemini3Flash. I have tested that the credit symbol works correctly though, and have looked at several papers to make sure their formatting wasn't messed up. Tested: image --- code/__HELPERS/text.dm | 2 +- code/datums/browser.dm | 2 +- html/changelogs/hellfirejag-fix-credit-symbol.yml | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 html/changelogs/hellfirejag-fix-credit-symbol.yml diff --git a/code/__HELPERS/text.dm b/code/__HELPERS/text.dm index 2733abd38a2..530a8c8f81c 100644 --- a/code/__HELPERS/text.dm +++ b/code/__HELPERS/text.dm @@ -671,7 +671,7 @@ t = replacetext(t, "\[date\]", "[worlddate2text()]") t = replacetext(t, "\[tajtime\]", "[tajaran_time()]") t = replacetext(t, "\[tajdate\]", "[tajaran_full_date()]") - t = replacetext(t, "\[cr\]", "电") + t = replacetext(t, "\[cr\]", "\u7535") t = replacetext(t, "\[editorbr\]", "
") t = replacetext(t, @"[image id=([\w]*?\.[\w]*?)]", "") return t diff --git a/code/datums/browser.dm b/code/datums/browser.dm index c9d277230eb..363da097894 100644 --- a/code/datums/browser.dm +++ b/code/datums/browser.dm @@ -107,7 +107,7 @@ - + [head_content] diff --git a/html/changelogs/hellfirejag-fix-credit-symbol.yml b/html/changelogs/hellfirejag-fix-credit-symbol.yml new file mode 100644 index 00000000000..ce886bedafa --- /dev/null +++ b/html/changelogs/hellfirejag-fix-credit-symbol.yml @@ -0,0 +1,4 @@ +author: Helfirejag +delete-after: True +changes: + - bugfix: "Fixed the credit symbol not being correctly applied when using [cr] on a paper."