mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-24 16:56:15 -04:00
Remove new lines from input tab header
This commit is contained in:
parent
d99cf9d499
commit
5a52e5e9b3
2 changed files with 3 additions and 1 deletions
|
@ -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: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue