jovanzers / dabr

Automatically exported from code.google.com/p/dabr
0 stars 0 forks source link

Some Embedy Images don't contain links #207

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What are the steps to trigger the problem?
1) https://dabr.co.uk/status/77692132034494464
2) Thumbnail image is displayed - but there is no (working) hyperlink on it

What happened?
This is the code that's returned.

<a 
href="http://en.%3Ca%20class=%22url%22%20href=%22http://wikipedia.org/wiki/Birmi
ngham%27%22%20rel=%22external%20nofollow%22%20target=%22_blank%22%3Ewikipedia.or
g/wiki/Birmingham%27%3C/a%3E%20target=" _blank="">
<img 
src="http://i.tinysrc.mobi/x50/200/http://upload.wikimedia.org/wikipedia/commons
/thumb/6/60/BirminghamMontage.jpg/280px-BirminghamMontage.jpg">
</a>

What did you expect to happen?
I'll check to see if it's the Embed.ly service or something at Dabr's end.

Original issue reported on code.google.com by terence.eden on 6 Jun 2011 at 11:22

GoogleCodeExporter commented 9 years ago
This is caused by dabr calling embedly_embed_thumbnails BEFORE 
twitter_parse_tags.
So the Autolink is happening on (some) URLs inside the <a href="

Arse.

Original comment by terence.eden on 6 Jun 2011 at 11:45

GoogleCodeExporter commented 9 years ago
Fixed in r412

Original comment by terence.eden on 13 Jun 2011 at 11:18