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 => '<i>Some HTML</i> 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 |