diff options
author | Robin Appelman <robin@icewind.nl> | 2017-01-23 13:01:13 +0300 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2017-01-23 13:01:13 +0300 |
commit | a64fa41f3b613bbd66aae32f9513b907d8341af2 (patch) | |
tree | 7e021f2d44b017bfd0f9233eb23343502d1938cb /js | |
parent | e9e1be44111b3e1f09cc8858f86e017c23741b8c (diff) |
dont trim the input text
fixes #35
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'js')
-rw-r--r-- | js/editor.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/js/editor.js b/js/editor.js index 2f36a09..cd88fce 100644 --- a/js/editor.js +++ b/js/editor.js @@ -78,7 +78,6 @@ OCA.Files_Markdown.Preview.prototype.previewText = function (text, element) { }; var prepareText = function (text) { - text = text.trim(); if (text.substr(0, 3) === '+++') { text = text.substr(3); text = text.substr(text.indexOf('+++') + 3); |