Using html charachters (&) in post breaks Atom feed

Found a bug? Tell us!!
Post Reply
marcderooij
Regular
Posts: 15
Joined: Mon Aug 09, 2004 9:48 pm
Contact:

Using html charachters (&) in post breaks Atom feed

Post by marcderooij »

Hi,

In my posts, I use & to write html characters such as é
This seems to break the Atom feed :(
XML Parsing Error: undefined entity
Location: http://sandcat.nl/~marc/blog/rss.php?version=atom0.3
Line Number 42, Column 71:
Please look at
http://sandcat.nl/~marc/blog/
http://sandcat.nl/~marc/blog/rss.php?version=atom0.3
to see what I mean...
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Using html charachters (&) in post breaks Atom feed

Post by garvinhicking »

&eacute is no valid XHTML entity, you'll need to use the &#xxx representation.

Entities like & or > and so on won't break the feed...

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
marcderooij
Regular
Posts: 15
Joined: Mon Aug 09, 2004 9:48 pm
Contact:

Post by marcderooij »

I didn't know that, thanks!

Marc
tadpole
Regular
Posts: 88
Joined: Fri Oct 08, 2004 6:20 am
Location: 33°6'4.079" North, 117°3'6.563" West
Contact:

Post by tadpole »

If you've got some time and a bit of programming knowledge, you may be able to put this to good use (a plugin)--I keep intending to, but haven't had time :(
Post Reply