diff --git a/experiments/outline-editor/editor.js b/experiments/outline-editor/editor.js
index c714651..61a8396 100755
--- a/experiments/outline-editor/editor.js
+++ b/experiments/outline-editor/editor.js
@@ -1461,9 +1461,9 @@ var Outline = {
parse: function(text){
var that = this
text = text
- .replace(/^\s*\n/, '')
+ .replace(/^[ \t]*\n/, '')
text = ('\n' + text)
- .split(/\n(\s*)(?:- |-\s*$)/gm)
+ .split(/\n([ \t]*)(?:- |-\s*$)/gm)
.slice(1)
var tab = ' '.repeat(this.tab_size || 8)
var level = function(lst, prev_sep=undefined, parent=[]){
diff --git a/experiments/outline-editor/index.html b/experiments/outline-editor/index.html
index f4f76ab..b44ee3b 100755
--- a/experiments/outline-editor/index.html
+++ b/experiments/outline-editor/index.html
@@ -48,6 +48,11 @@ var setup = function(){
-
- ## Bugs:
focused:: true
+ - BUG: trailing whitespace is ignored in view...
+ - this node has a second empty line
+
+ - this is a sibling to the above node
+ - _see code_
- BUG: mobile browsers behave quite chaotically ignoring parts of the styling...
- FF:
- zooming on edited field
@@ -387,16 +392,14 @@ var setup = function(){