diff options
Diffstat (limited to 'app/Models/SimplePieCustom.php')
| -rw-r--r-- | app/Models/SimplePieCustom.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Models/SimplePieCustom.php b/app/Models/SimplePieCustom.php index 44e5b030e..849b23a7b 100644 --- a/app/Models/SimplePieCustom.php +++ b/app/Models/SimplePieCustom.php @@ -47,7 +47,7 @@ final class FreshRSS_SimplePieCustom extends \SimplePie\SimplePie $this->set_curl_options($curl_options); $this->strip_comments(true); - $this->rename_attributes(['id', 'class']); + $this->rename_attributes(['class']); $this->allow_aria_attr(true); $this->allow_data_attr(true); $this->allowed_html_attributes([ @@ -121,7 +121,7 @@ final class FreshRSS_SimplePieCustom extends \SimplePie\SimplePie 'kbd' => [], 'label' => [], 'legend' => [], - 'li' => ['value', 'type'], + 'li' => ['id', 'value', 'type'], 'main' => [], // 'map' => [], // TODO: support <map> after rewriting ids with a format like #ugc-<insert original id here> (maybe) 'mark' => [], |
