diff --git a/build/js/IFrame.js b/build/js/IFrame.js index 0d4e9de86..2b1e1e7bb 100644 --- a/build/js/IFrame.js +++ b/build/js/IFrame.js @@ -142,7 +142,7 @@ class IFrame { return } - const uniqueName = link.replace('./', '').replace(/["&'./:=?[\]]/gi, '-').replace(/(--)/gi, '') + const uniqueName = link.replace('./', '').replace(/["#&'./:=?[\]]/gi, '-').replace(/(--)/gi, '') const navId = `tab-${uniqueName}` if (!this._config.allowDuplicates && $(`#${navId}`).length > 0) {