mirror of
https://github.com/gchq/CyberChef
synced 2026-01-18 00:13:57 +00:00
Remove new lines from input tab header
This commit is contained in:
@@ -433,6 +433,8 @@ self.updateTabHeader = function(inputNum) {
|
||||
if (typeof inputData !== "string") {
|
||||
inputData = input.data.name;
|
||||
}
|
||||
inputData = inputData.replace(/[\n\r]/g, "");
|
||||
|
||||
self.postMessage({
|
||||
action: "updateTabHeader",
|
||||
data: {
|
||||
|
||||
Reference in New Issue
Block a user