forked from GithubMirrors/cardconjurer
		
	Update js/creator-23.js
Co-authored-by: ForgeThrall <14297794+ForgeThrall@users.noreply.github.com>
This commit is contained in:
		| @@ -892,7 +892,7 @@ function writeText(textObject, targetContext) { | |||||||
| 		if (rawText == 'none') { rawText = ''; } | 		if (rawText == 'none') { rawText = ''; } | ||||||
| 	} | 	} | ||||||
| 	if (rawText.toLowerCase().includes('{cardname}' || '~')) { | 	if (rawText.toLowerCase().includes('{cardname}' || '~')) { | ||||||
| 		rawText = rawText.replace(/{cardname}/ig, getCardName()); | 		rawText = rawText.replace(/{cardname}|~/ig, getCardName()); | ||||||
| 	} | 	} | ||||||
| 	if (document.querySelector('#info-artist').value == '') { | 	if (document.querySelector('#info-artist').value == '') { | ||||||
| 		rawText = rawText.replace('\uFFEE{elemidinfo-artist}', ''); | 		rawText = rawText.replace('\uFFEE{elemidinfo-artist}', ''); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Chris McGuire
					Chris McGuire