tomd icon indicating copy to clipboard operation
tomd copied to clipboard

tag parse

Open ljhierarch opened this issue 7 years ago • 1 comments

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![](https://github.com)\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?

ljhierarch avatar May 10 '18 10:05 ljhierarch

I hava same problem too!

lowelllll avatar Feb 21 '19 14:02 lowelllll