[558774] DiagnosticDecorator.strip(String) should decode all the things
replaced by DiagnosticDecorator.escapeContent(String)
diff --git a/plugins/org.eclipse.emf.edit.ui/src/org/eclipse/emf/edit/ui/provider/DiagnosticDecorator.java b/plugins/org.eclipse.emf.edit.ui/src/org/eclipse/emf/edit/ui/provider/DiagnosticDecorator.java
index 36bd752..67124fb 100644
--- a/plugins/org.eclipse.emf.edit.ui/src/org/eclipse/emf/edit/ui/provider/DiagnosticDecorator.java
+++ b/plugins/org.eclipse.emf.edit.ui/src/org/eclipse/emf/edit/ui/provider/DiagnosticDecorator.java
@@ -161,7 +161,7 @@
/**
* Cleans up the escaping and HTML tags inserted by the {@link LiveValidator live validator}.
- * It can be safely called on text not produces by the live validator because it only transformed {@link #enquote(String) enquoted} content.
+ * It can be safely called on text not produced by the live validator because it only transformed {@link #enquote(String) enquoted} content.
*/
public static String strip(String content)
{
@@ -174,7 +174,7 @@
{
result.append(content.substring(start, matcher.start()));
String label = matcher.group(1);
- result.append(label.replace("<", "<").replace("&", "&"));
+ result.append(label.replace("<", "<").replace("&", "&").replace(" ", " "));
start = matcher.end();
}
while (matcher.find());