mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-11 11:15:24 +03:00
Strip line breaks and other spaces from symbol names
This commit is contained in:
parent
83972a9ef9
commit
ee86a18b12
@ -335,6 +335,7 @@ class SymbolsView {
|
||||
symbol.directory = `${parts.dir}${Path.sep}`;
|
||||
symbol.file = parts.base;
|
||||
}
|
||||
symbol.name = symbol.name.replace(/[\n\r\t]/, ' ');
|
||||
allSymbols.push(symbol);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user