diff --git a/creator/index.html b/creator/index.html
index 2c36f541..41bf8e33 100644
--- a/creator/index.html
+++ b/creator/index.html
@@ -217,7 +217,7 @@
Text Codes:
Code
Result
- {cardname}
Inserts the name of the card
+ {cardname}
Inserts the name of the card (or use a tilde: ~)
{-}
Inserts an em-dash
{i}
Italicizes text
{/i}
Removes italicization
@@ -811,4 +811,4 @@
-
\ No newline at end of file
+
diff --git a/js/creator-23.js b/js/creator-23.js
index 64ccf90c..f5b3a5ad 100644
--- a/js/creator-23.js
+++ b/js/creator-23.js
@@ -891,8 +891,8 @@ function writeText(textObject, targetContext) {
rawText = params.get('copyright'); //so people using CC for custom card games without WotC's IP can customize their copyright info
if (rawText == 'none') { rawText = ''; }
}
- if (rawText.toLowerCase().includes('{cardname}')) {
- rawText = rawText.replace(/{cardname}/ig, getCardName());
+ if (rawText.toLowerCase().includes('{cardname}' || '~')) {
+ rawText = rawText.replace(/{cardname}|~/ig, getCardName());
}
if (document.querySelector('#info-artist').value == '') {
rawText = rawText.replace('\uFFEE{elemidinfo-artist}', '');