I recently built an RSS feed in Ruby, and it seemed to work fine. Now, when I generate my xml file, I'm getting an error because of an invalid character. The character is a simple apostrophe on the word >> I'm << Is there something that I should be doing for this? Like, specify a certain encoding, or inside of my <description></description> tags, put something like this: <description>h(post.entry)</description> What exactly does the h() function do? Does it escape characters? Hopefully you can see my problem. Thanks.
on 2006-03-15 02:37