1

In the Atom feed, any HTML special characters need to be double-encoded.

For example, this item appeared in an Atom feed recently: <kbd> elements are way intrusive

In the Atom feed the title was encoded as:

<title type="html">&lt;kbd&gt; elements are way intrusive</title>

This actually needs to be double-encoded, i.e.:

<title type="html">&amp;lt;kbd&amp;gt; elements are way intrusive</title>

On Google Reader and on Firefox, it thought an actual kbd tag was there, and in both cases it was stripped out (so the title actually read "elements are way intrusive").

1 Answer 1

2

Alternately, SO could probably just use type="text" for the titles... AFAIK, the site doesn't allow HTML in them anyway!

1
  • 1
    ok, I switched to type="text" for the titles Commented Jul 22, 2009 at 8:29

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .