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

Empty html tags issue #71

Closed
rudyryk opened this issue Aug 14, 2015 · 4 comments
Closed

Empty html tags issue #71

rudyryk opened this issue Aug 14, 2015 · 4 comments

Comments

@rudyryk
Copy link

rudyryk commented Aug 14, 2015

This is working as expected:

>>> markdown = Markdown(Renderer())
>>> markdown('<a name="111">111</a>')
'<p><a name="111">111</a></p>\n'

and this NOT:

>>> markdown('<a name="111"></a>')
'<p><a name="111">&lt;/a&gt;</p>\n'

As a workaround we may insert whitespace:

>>> markdown('<a name="111"> </a>')
'<p><a name="111"> </a></p>\n'
@lepture
Copy link
Owner

lepture commented Aug 14, 2015

duplicated #67

@lampslave
Copy link

Can you please release new version with those changes? YouTube embedding (empty iframe) is broken too.

@lepture
Copy link
Owner

lepture commented Aug 22, 2015

@lampslave released

@lampslave
Copy link

Thanks a lot.

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

No branches or pull requests

3 participants