in reply to Problems with HTML Encoding in RSS after moving to XML::RSS 1.48

This is an untested suggestion based on XML Predefined Entities which include < and >.

Change your Perl line

description => "<i>Some HTML</i> Some text",

to

description => '&lt;i&gt;Some HTML&lt;/i&gt; Some text',

Note: I've also changed the double quotes to single quotes.

As a further suggestion, not related to your issue here, I'd consider using the em element in favour of the i element. That will make the markup standards-compliant regardless of the version of HTML or XHTML this is ultimately rendered in.

Additional information update:

Just an afterthought: W3C provides an RDF Validator which you may find helpful.

-- Ken

Replies are listed 'Best First'.
Re^2: Problems with HTML Encoding in RSS after moving to XML::RSS 1.48
by ikegami (Patriarch) on Oct 22, 2010 at 22:33 UTC

    You'll end up with

    &amp;lt;i&amp;gt;Some HTML&amp;lt;/i&amp;gt; Some text

    I think you're going on the assumption that the module can tell if something's already been encoded or not, but that's impossible to determine.