summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/lib/text_utility.js.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/lib/text_utility.js.coffee')
-rw-r--r--app/assets/javascripts/lib/text_utility.js.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/lib/text_utility.js.coffee b/app/assets/javascripts/lib/text_utility.js.coffee
index 3dcc5b24548..0a4ebb8381e 100644
--- a/app/assets/javascripts/lib/text_utility.js.coffee
+++ b/app/assets/javascripts/lib/text_utility.js.coffee
@@ -41,7 +41,7 @@
text,
textArea.selectionStart,
textArea.selectionEnd,
- ("#{lineBreak}#{tag} #{selObj.toString()} \n")
+ ("#{lineBreak}#{tag}#{selObj.toString()} \n")
)
$textArea.data('old-val', text).val(replaceWith);
gl.text.undoManager.addUndo(oldVal, $textArea.val())