-
-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Description
Hi, I find the case that
When the tag is <img></img>:
tomd.convert('''<p><img src="https://github.com" class="dsad"></img></p>''')
the parsed result is \n\n, which is what I expect,
But, when the tag is <img />:
tomd.convert('''<p><img src="https://github.com" class="dsad"/></p>''')
the result is: \n<img src=\"https://github.com\" class=\"dsad\"/>\n, so it seems that the self contained tag cannot be parsed.
Can we repair it?
Metadata
Metadata
Assignees
Labels
No labels