From dafa6e031062e8d9b247a7a511b164df2bc3429f Mon Sep 17 00:00:00 2001 From: daboe01 Date: Wed, 28 Sep 2016 17:31:39 +0200 Subject: [PATCH] fixed: space escape was missed for rich text pasting --- AppKit/CPTextView/CPTextView.j | 1 + 1 file changed, 1 insertion(+) diff --git a/AppKit/CPTextView/CPTextView.j b/AppKit/CPTextView/CPTextView.j index 8bd00a039..ec8a5e7df 100644 --- a/AppKit/CPTextView/CPTextView.j +++ b/AppKit/CPTextView/CPTextView.j @@ -2730,6 +2730,7 @@ var _CPCopyPlaceholder = '-'; [self _replaceEveryOccurenceOfRegularExpression:/</i withString:'<']; [self _replaceEveryOccurenceOfRegularExpression:/>/i withString:'>']; [self _replaceEveryOccurenceOfRegularExpression:/&/i withString:'&']; + [self _replaceEveryOccurenceOfRegularExpression:/ /i withString:' ']; return self; }