The following comment has been added to this issue:
Author: Eric L. Wittle
Created: Fri, 25 Jun 2004 7:21 PM
Body:
The attached file is the patch for the problem. I built it against CVS Head, and
tested it; it works.
---------------------------------------------------------------------
View this comment:
http://issues.apache.org/jira/browse/JS1-495?page=comments#action_36370
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/JS1-495
Here is an overview of the issue:
---------------------------------------------------------------------
Key: JS1-495
Summary: NewRSSPortlet passes escaped HTML markup to browser
Type: Bug
Status: Unassigned
Priority: Minor
Project: Jetspeed
Components:
Portlets
Versions:
1.5
Assignee:
Reporter: Eric L. Wittle
Created: Fri, 25 Jun 2004 6:15 PM
Updated: Fri, 25 Jun 2004 7:21 PM
Environment: RedHat Enterprise Linux 3.0
Tomcat 4.1.29
Sun JDK 1.4.2_03
Oracle 9iR2
Description:
I pointed the NewRSSPortlet at the RSS feed from my blog, which I created with Roller
(www.rollerweblogger.org). The Description for the item contains escaped HTML markup,
e.g. ">". This was passed directly on to the browser, resulting in the user seeing
HTML tags rather than formatted text.
The solution is to unescape the HTML. The way I've done this so far is to use
StringEscapeUtils.unescapeHtml() in commons-lang-2.0.
I will submit a patch as soon as I rebuild from the CVS head.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]