diff --git a/lib/html_extra_data.py b/lib/html_extra_data.py index 687d1b2..db62a9d 100644 --- a/lib/html_extra_data.py +++ b/lib/html_extra_data.py @@ -1,2 +1,371 @@ box_width = 350 -html_prepend = "\n\n\n" +html_prepend = """ + + +""" diff --git a/lib/utils.py b/lib/utils.py index aa4a2b9..256896f 100644 --- a/lib/utils.py +++ b/lib/utils.py @@ -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 == '':