Twython.html_for_tweet() function does not format media entities #359

Closed
opened 2014-11-27 01:15:53 -08:00 by ping · 1 comment
ping commented 2014-11-27 01:15:53 -08:00 (Migrated from github.com)

The html_for_tweet() function does not format media entities.

It currently outputs

google.com is a #cool site, lol! @mikehelmick shd #checkitout. Love, @__twython__ github.com http://t.co/aBcDeFgHi

where http://t.co/aBcDeFgHi is the pic.twitter.com link. It should look like

google.com is a #cool site, lol! @mikehelmick shd #checkitout. Love, @__twython__ github.com pic.twitter.com/mNoPqRsT
The html_for_tweet() function does not format media entities. It currently outputs ``` google.com is a #cool site, lol! @mikehelmick shd #checkitout. Love, @__twython__ github.com http://t.co/aBcDeFgHi ``` where `http://t.co/aBcDeFgHi` is the pic.twitter.com link. It should look like ``` google.com is a #cool site, lol! @mikehelmick shd #checkitout. Love, @__twython__ github.com pic.twitter.com/mNoPqRsT ```
michaelhelmick commented 2014-12-01 08:46:58 -08:00 (Migrated from github.com)

Nice catch. We'll try and fix this soon! In the mean time, feel free to fix it and create a pull request if you'd like the fix in faster? :)

Nice catch. We'll try and fix this soon! In the mean time, feel free to fix it and create a pull request if you'd like the fix in faster? :)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: code/twython#359
No description provided.