ciderpunx / twitrssme

TwitRSS.me: Tool to make Twittter timelines and searches into RSS feeds
https://twitrss.me
GNU General Public License v2.0
358 stars 58 forks source link

Getting invalid HTML (<a> tags) in some circumstances #46

Open mike-burns opened 6 years ago

mike-burns commented 6 years ago

Reproduceable in the feed for @archillect: https://www.twitrss.me/twitter_user_to_rss/?user=archillect

<description><![CDATA[<p class="TweetTextSize TweetTextSize--normal js-tweet-text tweet-text"  lang="und"> <a class="twitter-timeline-link u-hidden"  dir="ltr" href="https://pic.twitter.com/rTrk5npdLJ">pic.twitter.com/rTrk5npdLJ</a></a></p> <img src="https://pbs.twimg.com/media/DVxXaUIWAAEjKJB.jpg" width="250" />]]></description>

There are two </a></a> but only one <a>.


I apologize but I don't have a patch for this. The bug seems to be twitter_user_to_rss.pl line 105 from #36, but I have not confirmed this.

ciderpunx commented 6 years ago

Thanks for reporting it. I'll have a look at it soon -- most likely over the weekend.