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 == '':
|
||||
return mana_html_open_delimiter + str(colorless_total) + mana_html_close_delimiter
|
||||
else:
|
||||
return (mana_html_open_delimiter + ('' if colorless_total == 0
|
||||
else str(colorless_total))
|
||||
+ mana_html_close_delimiter + jmanastr)
|
||||
return (('' if colorless_total == 0
|
||||
else mana_html_open_delimiter + str(colorless_total) + mana_html_close_delimiter)
|
||||
+ jmanastr)
|
||||
|
||||
elif for_forum:
|
||||
if jmanastr == '':
|
||||
|
|
Loading…
Reference in a new issue