Problem with invalid XML/HTML in PHP DOM

后端 未结 2 2010
我寻月下人不归
我寻月下人不归 2021-01-27 17:09

Suppose you have the following HTML:


You want to load it into a

2条回答
  •  执笔经年
    2021-01-27 17:38

    Can't you turn the html into a string, explode it and then stitch it back with the closing tag?

提交回复
热议问题