Skip to content

Commit

Permalink
Merge pull request #253 from PlaidWeb/feature/226-malformed-divstyle
Browse files Browse the repository at this point in the history
Remove spurious image set attributes
  • Loading branch information
fluffy-critter committed Jul 16, 2019
2 parents 1df4394 + 43fa11b commit 92803dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions publ/markdown.py
Expand Up @@ -84,8 +84,8 @@ def image(self, raw_url, title='', alt=''):
container_args.get('div_style')):
text = '{tag}{text}</div>'.format(
tag=utils.make_tag('div',
{'class': container_args.get('div_class'),
'style': container_args.get('div_style')}),
{'class': container_args.get('div_class') or False,
'style': container_args.get('div_style') or False}),
text=text)

# if text is ''/falsy then misaka interprets this as a failed parse...
Expand Down

0 comments on commit 92803dc

Please sign in to comment.