        @main = true
        @node = @mainNode
 
-     @prevBlock ?= @node
+     @prevNode ?= @node
 
      switch @node.type
       when TYPES.list


     if line.empty
      if @node.type is TYPES.block
       @prevBlock = @node
       @node = @node.parent()

      if @node.type is TYPES.codeBlock or @node.type is TYPES.html

     @node = @root
     @main = true
     @sidenotes = []
     @prevNode = null
     @blocks = []

    parse: ->
