fixed html things to work with new colorless mana symbol
This commit is contained in:
parent
23c3b9a160
commit
20ab5af6e1
2 changed files with 373 additions and 4 deletions
File diff suppressed because one or more lines are too long
|
@ -434,9 +434,9 @@ def mana_untranslate(manastr, for_forum = False, for_html = False):
|
||||||
if jmanastr == '':
|
if jmanastr == '':
|
||||||
return mana_html_open_delimiter + str(colorless_total) + mana_html_close_delimiter
|
return mana_html_open_delimiter + str(colorless_total) + mana_html_close_delimiter
|
||||||
else:
|
else:
|
||||||
return (mana_html_open_delimiter + ('' if colorless_total == 0
|
return (('' if colorless_total == 0
|
||||||
else str(colorless_total))
|
else mana_html_open_delimiter + str(colorless_total) + mana_html_close_delimiter)
|
||||||
+ mana_html_close_delimiter + jmanastr)
|
+ jmanastr)
|
||||||
|
|
||||||
elif for_forum:
|
elif for_forum:
|
||||||
if jmanastr == '':
|
if jmanastr == '':
|
||||||
|
|
Loading…
Reference in a new issue