Closed andris9 closed 9 years ago
This is related to #144 and #145. The current behavior accepts link elements with invalid type, for example if the feed includes the following items, then rel=self is used even though its type is application/atom+xml
<link rel='self' type='application/atom+xml' href='feed-item-url'/> <link rel='alternate' type='text/html' href='blog-post-url'/>
This PR changes the behavior to prefer elements with type=text/html
Nice. Thanks, @andris9
published as v1.1.3
Thanks!
Yes, this problem made feeds.feedburner.com feeds misbehave. Thanks.
@rdbcci :tada:
This is related to #144 and #145. The current behavior accepts link elements with invalid type, for example if the feed includes the following items, then rel=self is used even though its type is application/atom+xml
This PR changes the behavior to prefer elements with type=text/html