[jbosstools-issues] [JBoss JIRA] (JBIDE-10801) Problem rendering blog entry in JBoss central

Snjezana Peco (JIRA) jira-events at lists.jboss.org
Thu Feb 9 10:17:52 EST 2012


     [ https://issues.jboss.org/browse/JBIDE-10801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Snjezana Peco resolved JBIDE-10801.
-----------------------------------

    Resolution: Done


The JBoss Central already uses StringEscapeUtils.unescapeHtml (is used in Mylyn, too).
This works for most of the cases. The special characters are shown properly.

As to the specific cases, I have added the following:
- if a created form text isn't a valid xml, call StringEscapeUtils.escapeXml for all the strings within a feed entry

This will always create some entry, but it may be that some character can't be shown correctly. 
This is the reason why StringEscapeUtils.escapeXml isn't called directly.
I have tried to call it directly, but special characters are shown as xml entities in that case.

I don't see any general solution because the forms text component renders html partially.
We can't use the browser widget component because it won't work on all OSs.

IMO, these issues are rare and always can be fixed on the blogs/news server, so this is a satisfactory solution.

                
> Problem rendering blog entry in JBoss central
> ---------------------------------------------
>
>                 Key: JBIDE-10801
>                 URL: https://issues.jboss.org/browse/JBIDE-10801
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: central
>    Affects Versions: 3.3.0.Beta1
>            Reporter: Fred Bricon
>            Assignee: Snjezana Peco
>             Fix For: 3.3.0.Beta1
>
>
> https://community.jboss.org/en/tools/blog/2012/02/03/m2eclipse-wtp-0150-new-noteworthy doesn't show up on the blogs section of JBoss central : 
> {quote}Problem rendering entry - Argument not valid The entity name must immediately follow the '&' in the entity reference.{quote}
> Is this fixable in Central or do I need to clean up the post?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list