aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorache <ache@ache.one>2018-04-29 10:16:58 +0200
committerache <ache@ache.one>2018-04-29 10:16:58 +0200
commit8f80f40323ba38e871d7180df76bbc493a1b28eb (patch)
tree139ac604c4ef74f76ee78699ffe04a3807176446
parentFix the old bug with raw interpretation (diff)
parentdelete new line regex (diff)
Merge branch 'master' of srv:git/remark-text-input
-rw-r--r--app.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app.js b/app.js
index a37436e..8e98dc2 100644
--- a/app.js
+++ b/app.js
@@ -1,7 +1,7 @@
'use strict';
-const START = /^(\[_+)\n/g;
-const END = /\n(_+])/g;
+const START = /^(\[_+)/g;
+const END = /(_+])/g;
const parseAttr = require('md-attr-parser');