Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tag parse #15

Open
ljhierarch opened this issue May 10, 2018 · 1 comment
Open

tag parse #15

ljhierarch opened this issue May 10, 2018 · 1 comment

Comments

@ljhierarch
Copy link

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?

@lowelllll
Copy link

I hava same problem too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants