Author: fbricon
Date: 2012-02-06 10:24:38 -0500 (Mon, 06 Feb 2012)
New Revision: 38444
Modified:
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/editors/GettingStartedPage.java
Log:
JBIDE-10801 : quick n'dirty fix that replaces single & in text with & This
should really be fixed more properly (replace all html entities with the proper equivalent
ISO characters)
Modified:
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/editors/GettingStartedPage.java
===================================================================
---
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/editors/GettingStartedPage.java 2012-02-06
13:16:42 UTC (rev 38443)
+++
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/editors/GettingStartedPage.java 2012-02-06
15:24:38 UTC (rev 38444)
@@ -1030,7 +1030,9 @@
// we replace the HTML entity with the standard xml version
// TODO: should probably be done earlier on but couldn't find where.
text = text.replaceAll(" ", " ");
-
+ //Temporary fix for JBIDE-10801
+ //FIXME find a generic way to replace entities with proper code
+ text = text.replaceAll(" & ", " & ");
formText.setText(text, true, true);
} catch(IllegalArgumentException se) {
formText.dispose();
Show replies by date