Why can't RSS handle the ampersand?

前端 未结 7 893
滥情空心
滥情空心 2021-01-04 10:53

When I come across a broken RSS feed, the usual reason its all blown to pieces is because line 23 says \"Sanford & Sons.\"

The most confusing thing is the fact

7条回答
  •  旧时难觅i
    2021-01-04 11:28

    Because RSS is XML, and XML demands certain characters be escaped, such as the ampersand.

提交回复
热议问题