-
Notifications
You must be signed in to change notification settings - Fork 3
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
Comments
Damn. IIRC, I'm rendering comment markdown to html then extract text for
pre-processing comment text. Underscores probably get *Lost in Translation*,
as markdown renderer doesn't know about reddit usernames.
…On Fri, Aug 14, 2020, 04:09 Rudolf M. Schreier ***@***.***> wrote:
See this summoning comment
<https://www.reddit.com/r/perfectlycutscreams/comments/i9dwha/basically_the_whole_plot_of_it/g1f5vem/>
:
u/nwordcountbot u/*ManWithNoName*
In wordcounterbot's response
<https://www.reddit.com/r/perfectlycutscreams/comments/i9dwha/basically_the_whole_plot_of_it/g1f7jet/>
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.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABMRZDPPC3OAL2IMGHF5E5DSAT5MFANCNFSM4P7JOQQA>
.
|
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
See this summoning comment:
In wordcounterbot's response
, 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.
The text was updated successfully, but these errors were encountered: