Parse Ethernet Frame HTML formatting fix (#2402)

This commit is contained in:
GCHQ Developer 85297
2026-05-18 11:54:13 +01:00
committed by GitHub
parent 1baef27e9b
commit 7ca4b3a13d
2 changed files with 12 additions and 1 deletions
+1 -1
View File
@@ -92,7 +92,7 @@ class ParseEthernetFrame extends Operation {
const packetData = input.slice(offset);
if (outputFormat === "Packet data") {
return Utils.byteArrayToChars(packetData);
return Utils.escapeHtml(Utils.byteArrayToChars(packetData));
} else if (outputFormat === "Packet data (hex)") {
return toHex(packetData);
} else if (outputFormat === "Text output") {