aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2023-09-04 10:09:37 +0200
committerGravatar GitHub <noreply@github.com> 2023-09-04 10:09:37 +0200
commit1c7c1016f4a5147003ed1c438b8a386a63a53cab (patch)
treea0639042ac205cd20863cd24496e79ddae3f562e /lib
parentda405ceee628dca739a12b234a6094a8ebae9c94 (diff)
Fix JSON export/import (#5626)
* Fix import with empty content fix https://github.com/FreshRSS/FreshRSS/issues/5622 Cherry picks on https://github.com/FreshRSS/FreshRSS/pull/5584 * Fix export of tags / labels Article-defined tags were wrongly exported as user-defined labels. * Fix export of tags / labels Article-defined tags were wrongly exported as user-defined labels. * Fix bug with many labels * Better typing * Comments
Diffstat (limited to 'lib')
-rw-r--r--lib/lib_rss.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/lib_rss.php b/lib/lib_rss.php
index 9d995c6d6..356d5bc0d 100644
--- a/lib/lib_rss.php
+++ b/lib/lib_rss.php
@@ -330,7 +330,6 @@ function customSimplePie(array $attributes = array()): SimplePie {
return $simplePie;
}
-/** @param string $data */
function sanitizeHTML(string $data, string $base = '', ?int $maxLength = null): string {
if ($data === '' || ($maxLength !== null && $maxLength <= 0)) {
return '';