Couple of TAB characters slipped through the net!
(ignoring the TABs in the HTML heredoc for now)
This commit is contained in:
parent
5d1d8329be
commit
78ece477d6
|
@ -43,7 +43,7 @@ def load_overlay(overlay):
|
|||
details = []
|
||||
|
||||
if 'type' not in loaded:
|
||||
loaded['type'] = 'addon'
|
||||
loaded['type'] = 'addon'
|
||||
|
||||
if 'manufacturer' in loaded:
|
||||
details.append('* ' + strings['made_by'].format(manufacturer=loaded['manufacturer']))
|
||||
|
@ -97,7 +97,7 @@ def load_overlay(overlay):
|
|||
details.append('* [{text}]({url})'.format(text=strings['buy_now'], url=loaded['buy']))
|
||||
|
||||
if loaded['type'] != 'info':
|
||||
loaded['long_description'] = '{}\n{}'.format(loaded['long_description'], markdown.markdown('\n'.join(details)))
|
||||
loaded['long_description'] = '{}\n{}'.format(loaded['long_description'], markdown.markdown('\n'.join(details)))
|
||||
|
||||
if 'page_url' not in loaded:
|
||||
loaded['page_url'] = slugify(loaded['name'])
|
||||
|
|
Loading…
Reference in New Issue