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

Merged
philgyford merged 1 commit from fix-html-for-tweet into master 2017-10-04 06:00:45 -07:00

1 commit

Author SHA1 Message Date
Phil Gyford
0ee9b76b5c Make html_for_tweet() link a replied-to username
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.
2017-10-03 19:12:02 +01:00