mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2025-01-19 08:36:27 +01:00
Discard expressions with control characters in strings for now
This commit is contained in:
parent
d90326938e
commit
6de0761180
@ -145,8 +145,13 @@ public class UiLoggerController implements Initializable {
|
|||||||
elements.add(new Element(packet.toString(), "outgoing"));
|
elements.add(new Element(packet.toString(), "outgoing"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
String cleaned = cleanTextContent(expr);
|
||||||
|
if (cleaned.equals(expr)) {
|
||||||
if (!expr.equals("") && displayStructure && packet.length() <= 2000)
|
if (!expr.equals("") && displayStructure && packet.length() <= 2000)
|
||||||
elements.add(new Element("\n" + cleanTextContent(expr), "structure"));
|
elements.add(new Element("\n" + cleanTextContent(expr), "structure"));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
elements.add(new Element("\n--------------------\n", ""));
|
elements.add(new Element("\n--------------------\n", ""));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user