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

Auto links that are right next to punctuation are not parsed properly by Markdown #88

Open
Protuhj opened this issue Sep 25, 2019 · 0 comments

Comments

@Protuhj
Copy link

Protuhj commented Sep 25, 2019

Example on reddit: https://old.reddit.com/r/VideoBuzzTest/comments/d8wypl/comment_test_will_delete/

Example strings for posterity:

Testing a link for diode: 

https://youtu.be/fr90PK4zGak. Testing a link for diode: 

https://youtu.be/MObLRPfqBc8,

The links are rendered as you would expect, but when you go to click the links, the URL includes the punctuation at the end.

Seems like the simplest way would be to read the selftext_html and grab the URL from that instead of using the separate Markdown parser, since the URLs are already rendered as links.

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