From 7877da8735c12267f4e5f088e4beccc1bc4bf846 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 27 Jun 2013 22:06:58 +0200 Subject: [PATCH] Improved normalization of selected text --- wcfsetup/install/files/js/WCF.Message.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/js/WCF.Message.js b/wcfsetup/install/files/js/WCF.Message.js index a50abce16b..0ecf4670c1 100644 --- a/wcfsetup/install/files/js/WCF.Message.js +++ b/wcfsetup/install/files/js/WCF.Message.js @@ -1820,7 +1820,7 @@ WCF.Message.Quote.Handler = Class.extend({ * @return string */ _normalize: function(text) { - return text.replace(/\r?\n|\r/g, "\n").replace(/\s{2,}/g, ' '); + return text.replace(/\r?\n|\r/g, "\n").replace(/\s/g, ' ').replace(/\s{2,}/g, ' '); }, /** -- 2.20.1