feedparser icon indicating copy to clipboard operation
feedparser copied to clipboard

HTML data attributes not accepted

Open tagawa opened this issue 3 years ago • 0 comments

Problem: HTML data attributes are not accepted by the sanitizer and are therefore being stripped.

Example: This feed uses multiple data attributes in each item's HTML content: https://thewatchsite.com/forums/the-japanese-watch-discussion-forum.21/index.rss

Requested action: Please could you add data attributes to the list of accepted HTML attributes? They are valid if the attribute name starts with data- and has at least one character after the hyphen.

For reference:

tagawa avatar Apr 10 '22 15:04 tagawa