alexdebril / feed-io

A PHP library to read and write feeds in JSONFeed, RSS or Atom format
https://alexdebril.github.io/feed-io/
MIT License
255 stars 54 forks source link

toRss() fails with "unterminated entity reference" #408

Closed monochromec closed 2 years ago

monochromec commented 2 years ago

When simply reading a feed [1] and invoking getRss() on the Feed object, I get a FeedIo\Rule\OptionalField::buildDomElement(): unterminated entity reference error on vendor/debril/feed-io/src/FeedIo/Rule/OptionalField.php:114

More than happy to provide more information - just let me know.

[1] https://linuxinlaws.eu/inlaws_rss.xml

monochromec commented 2 years ago

Can be closed as namespace definition was missing.