diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/util/FormUtil.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/util/FormUtil.js index bfc38e613321c3836ef8c507850fb5550538b5e5..81b6775270ed8121e2d183d129752902c46c904d 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/util/FormUtil.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/util/FormUtil.js @@ -822,7 +822,8 @@ var FormUtil = new function() { var click = function() { mainController.changeView(view, permIdOrIdentifier, true); } - var link = $("<a>", { "href" : href, "class" : "browser-compatible-javascript-link" }).append(displayName); + displayName = String(displayName).replace(/<(?:.|\n)*?>/gm, ''); //Clean any HTML tags + var link = $("<a>", { "href" : href, "class" : "browser-compatible-javascript-link" }).text(displayName); link.click(click); return link; } diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SideMenu/SideMenuWidgetView.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SideMenu/SideMenuWidgetView.js index e9b66d2fa1012f72714ca265af2561ba5109a49b..4f53d0df11464b1d9b7113fa7b34963b63426034 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SideMenu/SideMenuWidgetView.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SideMenu/SideMenuWidgetView.js @@ -179,7 +179,8 @@ function SideMenuWidgetView(sideMenuWidgetController, sideMenuWidgetModel) { this.getLinkForNode = function(displayName, menuId, view, viewData) { var href = Util.getURLFor(menuId, view, viewData); - var $menuItemLink = $("<a>", {"href": href, "class" : "browser-compatible-javascript-link browser-compatible-javascript-link-tree" }).append(displayName); + displayName = String(displayName).replace(/<(?:.|\n)*?>/gm, ''); //Clean any HTML tags + var $menuItemLink = $("<a>", {"href": href, "class" : "browser-compatible-javascript-link browser-compatible-javascript-link-tree" }).text(displayName); return $menuItemLink[0].outerHTML; }