diff --git a/src/js/controller/write.js b/src/js/controller/write.js index 13fa8e2..46a0867 100644 --- a/src/js/controller/write.js +++ b/src/js/controller/write.js @@ -125,6 +125,9 @@ define(function(require) { function has(substr) { return (body.indexOf(substr) !== -1); } + while (has('

')) { + body = body.replace('

', '\n'); + } while (has('
')) { body = body.replace('
', '\n'); }