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

Make html_for_tweet() link a replied-to username #456

Merged
merged 1 commit into from Oct 4, 2017

Conversation

philgyford
Copy link
Contributor

@philgyford philgyford commented Oct 3, 2017

If a tweet was a reply, then when html_for_tweet() tried to turn
the initial "@username" into a link, there was:

NameError: name 'sub_expr' is not defined

This is now fixed, with a test to ensure the "@username" becomes
a link.

I introduced this when refactoring html_for_tweet() a while ago, sorry.

If a tweet was a reply, then when `html_for_tweet()` tried to turn
the initial "@username" into a link, there was:

    > NameError: name 'sub_expr' is not defined

This is now fixed, with a test to ensure the "@username" becomes
a link.
@coveralls
Copy link

coveralls commented Oct 3, 2017

Coverage Status

Coverage increased (+0.2%) to 57.182% when pulling 0ee9b76 on philgyford:fix-html-for-tweet into 97f78fd on ryanmcgrath:master.

@michaelhelmick michaelhelmick merged commit 0702b4b into ryanmcgrath:master Oct 4, 2017
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

Successfully merging this pull request may close these issues.

None yet

3 participants