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
Failed to parse description field with escaped CDATA. #440
Comments
cdhigh
changed the title
parse description with CDATA error.
parse description with escaped CDATA error.
Apr 27, 2024
cdhigh
changed the title
parse description with escaped CDATA error.
Error to parse description with escaped CDATA.
Apr 27, 2024
cdhigh
changed the title
Error to parse description with escaped CDATA.
Failed to parse description field with escaped CDATA.
Apr 27, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Description:
Up to the current version (2024-04-12), if the description field contains escaped CDATA, feedparser fails to extract the content. I have simplified the issue and provided a minimal reproducible test case ( source RSS link ).
Expectation:
feed.entries[0].description=='some text'
, but the actual result is an empty string.If
<![CDATA[some text]]>
is changed to<![CDATA[some text]]>
, then it works fine.The text was updated successfully, but these errors were encountered: