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

Ensure description gets sanitized for markdown formatting #62

Closed
Nedlinin opened this issue Mar 30, 2020 · 2 comments
Closed

Ensure description gets sanitized for markdown formatting #62

Nedlinin opened this issue Mar 30, 2020 · 2 comments

Comments

@Nedlinin
Copy link
Collaborator

Nedlinin commented Mar 30, 2020

https://www.reddit.com/r/listentothis/comments/frhf3e/caravan_golf_girl_progressive_rock_1971/flvs3pr/

Ends up with the following contained in it's markdown:

[wikipedia](https://en.wikipedia.org/wiki/Caravan_(band))

When it reality it needs to be

[wikipedia](https://en.wikipedia.org/wiki/Caravan_(band\))

We should probably escape any closing parens contained within links so that reddit will properly parse the URL.

ghost pushed a commit that referenced this issue Apr 1, 2020
Haven't gotten around to test this but I think it should work. Would solve #61 and #62
@martijnboers
Copy link
Owner

Actually both parentheses needed to be escaped

martijnboers added a commit that referenced this issue Apr 2, 2020
* sanitizing markdown and getting social media names

Haven't gotten around to test this but I think it should work. Would solve #61 and #62

* Making flake happy

* Minor optimization by adding a break

* Rewrote as a single function

* A (poor) attempt to make flake happy

* Trying to make flake happy again also formatting

* Fixed unclosed parenthesis

* Properly labelling a function

* Add test for formatted network provider

* Update README

I think with the github outage it didn't save my latest commit so adding
this commit here to make sure the previous commit is added

Co-authored-by: Martijn Boers <martijn@plebian.nl>
@martijnboers
Copy link
Owner

Closed by #63

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

2 participants