From bfe155b7bff1f6f2742d8e2a910f32fad2a181a2 Mon Sep 17 00:00:00 2001 From: Chris McGuire <92750180+MrTeferi@users.noreply.github.com> Date: Wed, 7 Dec 2022 17:55:13 -0600 Subject: [PATCH] Update js/creator-23.js Co-authored-by: ForgeThrall <14297794+ForgeThrall@users.noreply.github.com> --- js/creator-23.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/creator-23.js b/js/creator-23.js index 17f5be21..6a451860 100644 --- a/js/creator-23.js +++ b/js/creator-23.js @@ -892,7 +892,7 @@ function writeText(textObject, targetContext) { if (rawText == 'none') { rawText = ''; } } if (rawText.toLowerCase().includes('{cardname}' || '~')) { - rawText = rawText.replace(/{cardname}/ig, getCardName()); + rawText = rawText.replace(/{cardname}|~/ig, getCardName()); } if (document.querySelector('#info-artist').value == '') { rawText = rawText.replace('\uFFEE{elemidinfo-artist}', '');