mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
find action: escape xml (IDEA-93225)
This commit is contained in:
@@ -165,8 +165,9 @@ public class GotoActionModel implements ChooseByNameModel, CustomMatcherModel, C
|
||||
if (hit == null) {
|
||||
hit = ((OptionDescription)value).getOption();
|
||||
}
|
||||
if (hit.length() > 30) {
|
||||
hit = hit.substring(0, 30) + "...";
|
||||
hit = StringUtil.unescapeXml(hit);
|
||||
if (hit.length() > 60) {
|
||||
hit = hit.substring(0, 60) + "...";
|
||||
}
|
||||
final JBLabel label = new JBLabel(hit.trim());
|
||||
label.setIcon(EMPTY_ICON);
|
||||
|
||||
Reference in New Issue
Block a user