diff options
author | ache <ache@ache.one> | 2018-04-29 11:17:34 +0200 |
---|---|---|
committer | ache <ache@ache.one> | 2018-04-29 11:17:34 +0200 |
commit | a2b8fe9f8bddf59def0bcadcec896b0a55ac8513 (patch) | |
tree | eed94a3fa41897a34f07d0163327876c55d610b6 /app.js | |
parent | Fix bugs and tests (diff) |
Fix eatten value with md-attr-parser
Diffstat (limited to 'app.js')
-rw-r--r-- | app.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -34,7 +34,7 @@ function plugin() { if (end !== value.match(START)[0].length) { end -= 1; } - const t = eat(value.slice(0, value.match(END)[0].lenght) + eaten)({ + const t = eat(value.slice(0, value.search(END) + value.match(END)[0].length) + eaten)({ type: 'textarea', data: { hName: 'TEXTAREA', |