twitrssme icon indicating copy to clipboard operation
twitrssme copied to clipboard

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

Open mike-burns opened this issue 7 years ago • 1 comments

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.

mike-burns avatar Feb 11 '18 18:02 mike-burns

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

ciderpunx avatar Feb 14 '18 10:02 ciderpunx