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

Underscores stripped from username #2

Open
ghost opened this issue Aug 14, 2020 · 2 comments
Open

Underscores stripped from username #2

ghost opened this issue Aug 14, 2020 · 2 comments

Comments

@ghost
Copy link

ghost commented Aug 14, 2020

See this summoning comment:

u/nwordcountbot u/ManWithNoName

In wordcounterbot's response

Thank you for the request, comrade.

u/ManWithNoName has not said the N-word.

, underscores were stripped from the reddit username.

It's not clear to me if this happened only while formatting the output, or if the lookup erroneously happened with the underscoreless username.

I would expect the usernames to match between request and response.

@alashow
Copy link
Owner

alashow commented Aug 14, 2020 via email

@alashow
Copy link
Owner

alashow commented Aug 18, 2020

I confirmed the issue is coming from rendering markdown. I don't have any solutions yet. A solution would probably involve modifying/extending markdown library to recognize and ignore reddit usernames, which I don't wanna do rn:)

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