diff options
| author | 2023-09-04 10:09:37 +0200 | |
|---|---|---|
| committer | 2023-09-04 10:09:37 +0200 | |
| commit | 1c7c1016f4a5147003ed1c438b8a386a63a53cab (patch) | |
| tree | a0639042ac205cd20863cd24496e79ddae3f562e /lib/lib_rss.php | |
| parent | da405ceee628dca739a12b234a6094a8ebae9c94 (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/lib_rss.php')
| -rw-r--r-- | lib/lib_rss.php | 1 |
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 ''; |
