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

Bad handling of markdown links #42

Open
gavinwahl opened this issue Apr 28, 2017 · 0 comments
Open

Bad handling of markdown links #42

gavinwahl opened this issue Apr 28, 2017 · 0 comments

Comments

@gavinwahl
Copy link
Member

Given the markdown <google.com>, I expect output of either &lt;google.com&gt; or <a href="http://google.com">google.com</a>, but instead the output is &lt;p&gt;&lt;google.com&gt;&lt;/google.com&gt;&lt;/p&gt;

This is because markdown isn't recognizing google as a link, so it outputs it as-is. Bleach thinks it's a tag, so it gets closed and entitized.

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

1 participant