twython/twython
Phil Gyford b366ab55c3 Improve replacing of entities with links in html_for_tweet()
I've re-written the parts of `html_for_tweet()` so that it handles
all the replacements of URLs, mentions, symbols and hashtags better.

Mainly to fix #447 but it should be a little more robust generally.

Shamelessly cribbed from https://stackoverflow.com/a/25514650/250962

Passes all tests, but I haven't checked it beyond that.

Fixes #447
2017-08-22 13:49:40 +01:00
..
streaming Fixed indents for dynamic filtering in types.py 2015-03-24 11:36:08 -07:00
__init__.py 3.5.0 Release 2017-06-06 10:17:58 -04:00
advisory.py first pep8 work 2014-07-24 04:24:51 +00:00
api.py Improve replacing of entities with links in html_for_tweet() 2017-08-22 13:49:40 +01:00
compat.py Remove sphinx themes from requirements, remove Import error 2013-06-11 19:11:52 -04:00
endpoints.py Merge pull request #428 from tushdante/tushdante-video-upload 2016-09-30 07:28:38 -04:00
exceptions.py Adds retry_after attribute to TwythonRateLimitError 2014-01-12 15:21:27 -08:00
helpers.py first pep8 work 2014-07-24 04:24:51 +00:00