-
Notifications
You must be signed in to change notification settings - Fork 124
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
Fix issue where "CDATA" was incorrectly used as content type in atom entries #123
base: main
Are you sure you want to change the base?
Conversation
If you carefully read the specification, that actually not quite true:
But just that these are the most common cases does not mean that these are the only acceptable values. In fact, the specification goes on describing other values right after that. That being said, you are right that if you want the content to be enclosed by |
While the specification does describe other acceptable values for the
I found |
Content type From my understanding the
The different content True
After the XML parser has parsed the feed, apps can parse the content according to the content type, which is only necessary for |
The spec is clear: |
@rpsh or anyone with write access to fix the conflicts here? |
According to the Atom specification, the acceptable values for the type of
<content>
aretext
,html
, andxhtml
.This PR fixes the previous code that incorrectly used
CDATA
as the type value.