Why can't RSS handle the ampersand?

前端 未结 7 835
滥情空心
滥情空心 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:37

    When a 'raw' & is seen, the interpreter is looking for one of the valid escaped & sequences (such as '&' ). When an invalid sequence is found it throws an error. That's all there is to it.

提交回复
热议问题