Closed Mansiper closed 7 years ago
The link
element is a void element in HTML. It can't have any content.
RSS is not HTML, it is XML. Parse it with an XML parser, not an HTML parser.
Trying to parse it as HTML gives you the equivalent of
<item><link/>Any Link<title>AnyTitle</title></item>
This selector passes test:
All other tags work fine. Only link always returns empty text. For example,
"item title:empty"
returns 0 elements.