Should Atom xhtml be escaped and inside <![CDATA
The default implementation of my php template does this but when I view the pages in Firefox, I'm not seeing any text and all the html is escaped and is nested like this:
shouldn't Atom take un-escaped (non-replaced) special characters and html? What am I doing wrong?
<content><![CDATA .....character replaced html here......]</content>
no, atom is xml, and xml needs to be well formed, html doesn't.
Originally Posted by webnick2007
Don't foget that a lot of "special characters" are HTML-specific entities, ©, , and " for example. these tokens need to be converted to raw xml/unicode entities; substituting the semantic label text for a digit.
Create, Share, and Debug HTML pages and snippets with a cool new web app I helped create: pagedemos.com
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)