mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fix failed tests
This commit is contained in:
+1
-1
@@ -1170,7 +1170,7 @@ public class EditorMarkupModelImpl extends MarkupModelImpl implements EditorMark
|
||||
if (tooltip == null) continue;
|
||||
String s = String.valueOf(tooltip);
|
||||
if (s.isEmpty()) continue;
|
||||
s = s.replaceAll("\\s+", " ");
|
||||
s = s.replaceAll(" ", " ").replaceAll("\\s+", " ");
|
||||
|
||||
LogicalPosition logicalPosition = myEditor.offsetToLogicalPosition(hEndOffset);
|
||||
int endOfLineOffset = myEditor.getDocument().getLineEndOffset(logicalPosition.line);
|
||||
|
||||
@@ -1795,8 +1795,8 @@ public class StringUtil extends StringUtilRt {
|
||||
return '\"' + str + "\"";
|
||||
}
|
||||
|
||||
@NonNls private static final String[] REPLACES_REFS = {"<", ">", "&", "'", """, " "};
|
||||
@NonNls private static final String[] REPLACES_DISP = {"<", ">", "&", "'", "\"", " "};
|
||||
@NonNls private static final String[] REPLACES_REFS = {"<", ">", "&", "'", """};
|
||||
@NonNls private static final String[] REPLACES_DISP = {"<", ">", "&", "'", "\""};
|
||||
|
||||
public static String unescapeXml(@Nullable final String text) {
|
||||
if (text == null) return null;
|
||||
|
||||
Reference in New Issue
Block a user