From 93c155bb7ab2140d2a49e5adceae41e0f981127a Mon Sep 17 00:00:00 2001 From: Daniel <50356015+danny007in@users.noreply.github.com> Date: Tue, 22 Dec 2020 13:15:59 +0530 Subject: [PATCH] Bug fixed in iFrame.js (#3235) Done #3233 with lgtm warning fixed --- build/js/IFrame.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/js/IFrame.js b/build/js/IFrame.js index ef7418cd8..ea54f65e1 100644 --- a/build/js/IFrame.js +++ b/build/js/IFrame.js @@ -88,10 +88,10 @@ class IFrame { const navId = `tab-${uniqueName}-${Math.floor(Math.random() * 1000)}` const newNavItem = `` - $(SELECTOR_TAB_NAVBAR_NAV).append(escape(newNavItem)) + $(SELECTOR_TAB_NAVBAR_NAV).append(unescape(escape(newNavItem))) const newTabItem = `
` - $(SELECTOR_TAB_CONTENT).append(escape(newTabItem)) + $(SELECTOR_TAB_CONTENT).append(unescape(escape(newTabItem))) if (autoOpen) { if (this._config.loadingScreen) {