From: Alexander Ebert Date: Tue, 26 Sep 2017 10:02:08 +0000 (+0200) Subject: Fixed pasting of text with embedded links X-Git-Tag: 3.1.0_Beta_1~9^2~3 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bd49e34db6cb258daea7dde6c9917db6d80b0b9b;p=GitHub%2FWoltLab%2FWCF.git Fixed pasting of text with embedded links --- diff --git a/wcfsetup/install/files/js/3rdParty/redactor2/plugins/WoltLabClean.js b/wcfsetup/install/files/js/3rdParty/redactor2/plugins/WoltLabClean.js index e8b9be81d0..23b79b071c 100644 --- a/wcfsetup/install/files/js/3rdParty/redactor2/plugins/WoltLabClean.js +++ b/wcfsetup/install/files/js/3rdParty/redactor2/plugins/WoltLabClean.js @@ -360,7 +360,7 @@ $.Redactor.prototype.WoltLabClean = function() { if (data.links && this.opts.pasteLinks) { elBySelAll('a', div, function(link) { if (link.href) { - link.outerHTML = '##%%a href="' + link.href + '"%%##' + link.innerHTML + '##%%/a%##'; + link.outerHTML = '##%%a href="' + link.href + '"%%##' + link.innerHTML + '##%%/a%%##'; } });