Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overly HTML encoded display results in broken content? #206

Open
mikeckennedy opened this issue Feb 24, 2017 · 2 comments
Open

Overly HTML encoded display results in broken content? #206

mikeckennedy opened this issue Feb 24, 2017 · 2 comments

Comments

@mikeckennedy
Copy link

REPORT A BUG/PROBLEM


Hi, I want to notify you of a bug/problem that is happening on the Planet.

I am using:
O.S: n/a
Browser: n/a
Platform: (mobile, tablet, desktop) web

Problem

On planetpython.org the HTML display for RSS feeds that embed their HTML in CDATA (seems correct to avoid breaking the RSS XML parsing), seems to result in HTML encoded presentation on the website.

Details

Here's an example from https://talkpython.fm/rss

over-encoded

Thanks.

@tjguk
Copy link
Member

tjguk commented Feb 24, 2017 via email

@mikeckennedy
Copy link
Author

mikeckennedy commented Feb 24, 2017

I am super busy right now. I'm pretty sure it's because my XML feed wraps the embedded HTML in CDATA blocks (as it should). Here's an example:

<description><![CDATA[Welcome to a very special episode. ...
<br/>
...
<div>...</div>]]></description>

My understanding is this is correct and necessary. But it seems as it is pulled out you are preserving this XML encoding rather than displaying it as "raw" HTML in the web app & feed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants