mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-11 23:24:43 +02:00
Don't trim() Ldesc; may muck with FILE_ID.DIZ type descriptions
This commit is contained in:
parent
221ec08bc8
commit
732e2eefd5
2 changed files with 7 additions and 7 deletions
|
@ -232,7 +232,12 @@ module.exports = class TicFileInfo {
|
|||
return;
|
||||
}
|
||||
|
||||
value = line.substr(keyEnd + 1).trim();
|
||||
value = line.substr(keyEnd + 1);
|
||||
|
||||
// don't trim Ldesc; may mess with FILE_ID.DIZ type descriptions
|
||||
if('ldesc' !== key) {
|
||||
value = value.trim();
|
||||
}
|
||||
|
||||
// convert well known keys to a more reasonable format
|
||||
switch(key) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue