mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
escape xml characters in completion "no results" hint
This commit is contained in:
+1
-1
@@ -734,7 +734,7 @@ public class CompletionProgressIndicator extends ProgressIndicatorBase implement
|
||||
final MessageBusConnection connection = project.getMessageBus().connect();
|
||||
connection.subscribe(EditorHintListener.TOPIC, listener);
|
||||
assert text != null;
|
||||
HintManager.getInstance().showErrorHint(editor, text, HintManager.UNDER);
|
||||
HintManager.getInstance().showErrorHint(editor, StringUtil.escapeXml(text), HintManager.UNDER);
|
||||
connection.disconnect();
|
||||
return result[0];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user