Further refinment to OPDS/RSS generation and also add Atom feeds

This commit is contained in:
Alex Cabal 2022-06-23 15:03:52 -05:00
parent d75d847004
commit f9fd6c8a02
23 changed files with 733 additions and 859 deletions

View file

@ -33,10 +33,10 @@ class Formatter{
}
public static function ToPlainText(?string $text): string{
return htmlspecialchars(trim($text), ENT_QUOTES, 'UTF-8');
return htmlspecialchars(trim($text), ENT_QUOTES, 'utf-8');
}
public static function ToPlainXmlText(?string $text): string{
return htmlspecialchars(trim($text), ENT_QUOTES|ENT_XML1, 'UTF-8');
return htmlspecialchars(trim($text), ENT_QUOTES|ENT_XML1, 'utf-8');
}
}