Skip to content

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

@Protuhj

Description

@Protuhj

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions