diff --git a/apps/updatenotification/js/notification.js b/apps/updatenotification/js/notification.js index 810b9c168a..913a59e042 100644 --- a/apps/updatenotification/js/notification.js +++ b/apps/updatenotification/js/notification.js @@ -18,7 +18,7 @@ $(document).ready(function(){ version = oc_updateState.updateVersion, docLink = oc_updateState.updateLink, text = t('core', '{version} is available. Get more information on how to update.', {version: version}), - element = $('').attr('href', docLink).attr('target','_blank').text(text); + element = $(''+escapeHTML(text)+''); OC.Notification.showTemporary( element,