[desktop] for bug 62782

This commit is contained in:
Maxim Kadushkin
2025-10-05 17:36:34 +00:00
parent 9018175ee9
commit 1be5a670c8

View File

@ -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);