spaces in filenames are OK

This commit is contained in:
themancalledjakob 2024-03-05 18:46:50 +01:00
parent f18bafc543
commit e10d8dbe1d

View file

@ -421,6 +421,7 @@ const sequencialPromises = async (iterable, callback = false) => {
const toCssClass = (text, prefix = '') => { const toCssClass = (text, prefix = '') => {
return prefix + 'vt_' + text return prefix + 'vt_' + text
.replaceAll('.','-dot-') .replaceAll('.','-dot-')
.replaceAll(' ','_')
.replaceAll('#','-hash-') .replaceAll('#','-hash-')
; ;
}; };