[Sync] Image token uses markdown for caption

This commit is contained in:
Roman Timashev committed 2017-10-23 02:06:02 +03:00
1 parent aab113314d
commit 9855c14da0
1 file changed
+1 -1
+1 -1
View File
@@ -146,7 +146,7 @@ class ImageToken(Token):
img = self.parse_data()
img = await self.build(img)
alt = img['alt']
caption = img['caption']
caption = markdown_to_html(img['caption'])
src = img['src']
tpl = f'''