fix iframe unique name with special chars

pull/3253/head
REJack 2020-12-23 08:13:02 +01:00
parent 077599d1cc
commit f8ce13b9fa
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ class IFrame {
return
}
this.createTab(title, link, link.replace('.html', '').replace('./', '').replaceAll('/', '-'), autoOpen)
this.createTab(title, link, link.replace('.html', '').replace('./', '').replace(/["&'./=?[\]]/gi, '-').replaceAll('--', ''), autoOpen)
}
switchTab(item) {