View file htmly-2.9.8/system/vendor/suin/php-rss-writer/src/Suin/RSSWriter/SimpleXMLElement.php
<?php namespace Suin\RSSWriter; /** * Class SimpleXMLElement * @package Suin\RSSWriter */ class SimpleXMLElement extends \SimpleXMLElement { #[\ReturnTypeWillChange] public function addChild($name, $value = null, $namespace = null) { if ($value !== null and is_string($value) === true) { $value = str_replace('&', '&', $value); } return parent::addChild($name, $value, $namespace); } }