Why can't RSS handle the ampersand?

前端 未结 7 884
滥情空心
滥情空心 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条回答
  •  無奈伤痛
    2021-01-04 11:49

    Not sure if this helps but when I needed to solve this problem I used the numeric entity ref for an ampersand which is & Running this through the w3c validator passed so I guess it's ok to use this.

    Cheers

提交回复
热议问题