{"id":51758,"date":"2025-02-18T18:46:04","date_gmt":"2025-02-19T02:46:04","guid":{"rendered":"https:\/\/michaelhans.com\/eclecticism\/?p=51758"},"modified":"2025-08-24T13:32:51","modified_gmt":"2025-08-24T20:32:51","slug":"minor-feedbin-rss-bug","status":"publish","type":"post","link":"https:\/\/michaelhans.com\/eclecticism\/2025\/02\/18\/minor-feedbin-rss-bug\/","title":{"rendered":"Minor Feedbin RSS Bug? (EDIT: Not a bug.)"},"content":{"rendered":"<p>I think I just uncovered a minor bug in <a href=\"https:\/\/feedbin.com\">Feedbin<\/a>&#8216;s RSS parsing.<\/p>\n<p><ins title=\"250222\" style=\"text-decoration-line: underline; text-decoration-style: dotted; text-decoration-color: #aaaaaa;\">Update: Not a bug! Feedbin support confirmed that they &#8220;aggressively&#8221; sanitize markup, for various reasons including security and ensuring that any CSS doesn&#8217;t break Feedbin&#8217;s rendering when viewed on the Feedbin site.<\/ins><\/p>\n<p>I used some inline CSS to flip an emoji upside-down in <a href=\"https:\/\/michaelhans.com\/eclecticism\/2025\/02\/16\/weekly-notes-feb-10-16-2025\/\">a recent blog post<\/a>, but it&#8217;s displaying right side up in Feedbin (and therefore in <a href=\"https:\/\/netnewswire.com\">NetNewsWire<\/a>, so at first I thought it was a bug there, but if I let NNW read the RSS directly instead of pulling from Feedbin, it displays the inverted emoji properly).)<\/p>\n<figure>\n<img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/michaelhans.com\/eclecticism\/wp-content\/uploads\/2025\/02\/Screenshot-2025-02-18-at-6.26.59\u202fPM-1024x207.png\" alt=\"Screenshot showing the inverted emoji on my website on the left and right side up in Feedbin on the right.\" width=\"1024\" height=\"207\" class=\"aligncenter size-large wp-image-51759\" srcset=\"https:\/\/michaelhans.com\/eclecticism\/wp-content\/uploads\/2025\/02\/Screenshot-2025-02-18-at-6.26.59\u202fPM-1024x207.png 1024w, https:\/\/michaelhans.com\/eclecticism\/wp-content\/uploads\/2025\/02\/Screenshot-2025-02-18-at-6.26.59\u202fPM-300x61.png 300w, https:\/\/michaelhans.com\/eclecticism\/wp-content\/uploads\/2025\/02\/Screenshot-2025-02-18-at-6.26.59\u202fPM-768x155.png 768w, https:\/\/michaelhans.com\/eclecticism\/wp-content\/uploads\/2025\/02\/Screenshot-2025-02-18-at-6.26.59\u202fPM-1536x310.png 1536w, https:\/\/michaelhans.com\/eclecticism\/wp-content\/uploads\/2025\/02\/Screenshot-2025-02-18-at-6.26.59\u202fPM.png 1684w\" sizes=\"(max-width: 1024px) 100vw, 1024px\"><br>\n<\/figure>\n<p>I&#8217;ve confirmed that the inline CSS is present in the raw RSS feed (which makes sense, since it displays properly when loaded directly in NNW).<\/p>\n<figure>\n<img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/michaelhans.com\/eclecticism\/wp-content\/uploads\/2025\/02\/Screenshot-2025-02-18-at-6.35.52\u202fPM.png\" alt=\"Screenshot of the proper HTML\/CSS in the RSS feed as seen in BBEdit.\" width=\"954\" height=\"194\" class=\"aligncenter size-full wp-image-51760\" srcset=\"https:\/\/michaelhans.com\/eclecticism\/wp-content\/uploads\/2025\/02\/Screenshot-2025-02-18-at-6.35.52\u202fPM.png 954w, https:\/\/michaelhans.com\/eclecticism\/wp-content\/uploads\/2025\/02\/Screenshot-2025-02-18-at-6.35.52\u202fPM-300x61.png 300w, https:\/\/michaelhans.com\/eclecticism\/wp-content\/uploads\/2025\/02\/Screenshot-2025-02-18-at-6.35.52\u202fPM-768x156.png 768w\" sizes=\"(max-width: 954px) 100vw, 954px\"><br>\n<\/figure>\n<p>But when I use Safari&#8217;s inspector to peek at the HTML that Feedbin is rendering, though the <code>span<\/code> tag is there, the <code>style<\/code> argument with the inline CSS has been stripped out.<\/p>\n<figure>\n<img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/michaelhans.com\/eclecticism\/wp-content\/uploads\/2025\/02\/Screenshot-2025-02-18-at-6.37.24\u202fPM.png\" alt=\"Screenshot of the HTML as served by Feedbin showing a span tag with no arguments.\" width=\"1010\" height=\"188\" class=\"aligncenter size-full wp-image-51761\" srcset=\"https:\/\/michaelhans.com\/eclecticism\/wp-content\/uploads\/2025\/02\/Screenshot-2025-02-18-at-6.37.24\u202fPM.png 1010w, https:\/\/michaelhans.com\/eclecticism\/wp-content\/uploads\/2025\/02\/Screenshot-2025-02-18-at-6.37.24\u202fPM-300x56.png 300w, https:\/\/michaelhans.com\/eclecticism\/wp-content\/uploads\/2025\/02\/Screenshot-2025-02-18-at-6.37.24\u202fPM-768x143.png 768w\" sizes=\"(max-width: 1010px) 100vw, 1010px\"><br>\n<\/figure>\n<p>Is this a bug? Or is Feedbin intentionally stripping inline CSS <code>style<\/code> declarations out for some reason? <ins title=\"250222\" style=\"text-decoration-line: underline; text-decoration-style: dotted; text-decoration-color: #aaaaaa;\">Update: Not a bug! See the added note at the beginning of this post.<\/ins><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I used some inline CSS to flip an emoji upside-down in a recent blog post, but it&#8217;s displaying right side up in Feedbin. Is this a bug? Or is Feedbin intentionally stripping inline CSS `style` declarations out for some reason?<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[2040],"tags":[6051,6050,6052,6007,4209],"_links":{"self":[{"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/posts\/51758"}],"collection":[{"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/comments?post=51758"}],"version-history":[{"count":0,"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/posts\/51758\/revisions"}],"wp:attachment":[{"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/media?parent=51758"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/categories?post=51758"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/tags?post=51758"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}