From 14dbb7617ff6c0346d6e04ba6c9605067f037b1c Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Thu, 28 Jul 2011 05:57:29 +0000 Subject: [PATCH] Fix broken textSelection test case in IE. All textSelection tests are passing in IE now (at least on my local machine) --- resources/jquery/jquery.textSelection.js | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/jquery/jquery.textSelection.js b/resources/jquery/jquery.textSelection.js index 49286d713e..7c39927cbf 100644 --- a/resources/jquery/jquery.textSelection.js +++ b/resources/jquery/jquery.textSelection.js @@ -163,6 +163,7 @@ encapsulateSelection: function( options ) { range3.moveEnd( 'character', 1 ); if ( range3.text != "\r" && range3.text != "\n" && range3.text != "" ) { insertText += "\n"; + post += "\n"; } } -- 2.20.1