IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
Преглед изворни кода

Made manifest unescapeName take care of all \NNN codes.

pull/1/head
Stanislaw Adaszewski пре 4 година
родитељ
комит
9a712cbb95
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      frontend/src/js/misc/wb-collection-manifest.js

+ 1
- 1
frontend/src/js/misc/wb-collection-manifest.js Прегледај датотеку

@@ -142,7 +142,7 @@ class WBManifestReader {
}
unescapeName(name) {
return name.replace(/(\\\\|\\040)/g, (_, $1) => ($1 === '\\\\' ? '\\' : ' '));
return name.replace(/(\\\\|\\[0-9]{3})/g, (_, $1) => ($1 === '\\\\' ? '\\' : String.fromCharCode(parseInt($1.substr(1), 8))));
}
escapeName(name) {


Loading…
Откажи
Сачувај