[Sync] Image token uses markdown for caption
This commit is contained in:
1 parent
aab113314d
commit
9855c14da0
1 file changed
+1
-1
@@ -146,7 +146,7 @@ class ImageToken(Token):
|
|||||||
img = self.parse_data()
|
img = self.parse_data()
|
||||||
img = await self.build(img)
|
img = await self.build(img)
|
||||||
alt = img['alt']
|
alt = img['alt']
|
||||||
caption = img['caption']
|
caption = markdown_to_html(img['caption'])
|
||||||
src = img['src']
|
src = img['src']
|
||||||
|
|
||||||
tpl = f'''
|
tpl = f'''
|
||||||
|
|||||||
Reference in new issue
Block a user