From bd49e34db6cb258daea7dde6c9917db6d80b0b9b Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 26 Sep 2017 12:02:08 +0200 Subject: [PATCH] Fixed pasting of text with embedded links --- .../install/files/js/3rdParty/redactor2/plugins/WoltLabClean.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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%%##'; } }); -- 2.20.1