Skip to content

Commit

Permalink
fix: broken RSS feeds
Browse files Browse the repository at this point in the history
  • Loading branch information
eteubert committed Oct 15, 2023
1 parent ca7a058 commit ebb25f6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dom_document_fragment.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ public function __construct($version = '1.0', $encoding = 'UTF-8')

public function __toString()
{
return str_replace('<?xml version="1.0"?>', '', $this->saveXML());
return str_replace('<?xml version="1.0" encoding="UTF-8"?>', '', $this->saveXML());
}
}
4 changes: 4 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ This product includes GeoLite2 data created by MaxMind, available from http://ww

== Changelog ==

= 2023-10-15 =

* fix broken RSS feeds

= 2023-10-14 =

* improve PHP 8 compatibility
Expand Down

0 comments on commit ebb25f6

Please sign in to comment.