mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-04-07 14:06:16 +08:00
[desktop] for bug 62782
This commit is contained in:
@ -543,7 +543,7 @@ define([
|
||||
const _f_ = rawarray[i];
|
||||
if ( utils.matchFileFormat( _f_.type ) ) {
|
||||
if (_re_name.test(_f_.path)) {
|
||||
_f_.path = $('<div>').html(_f_.path);
|
||||
_f_.path = $('<div>').html(_f_.path).text();
|
||||
const name = _re_name.exec(_f_.path)[1],
|
||||
dir = _f_.path.slice(0, _f_.path.length - name.length - 1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user