diode
diode copied to clipboard
Auto links that are right next to punctuation are not parsed properly by Markdown
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.