         line = startLine.lineNext
         if line != null
             deltaDepth1stLine = line.lineDepthAbs - startLineDepthAbs
-            if deltaDepth1stLine >= 1 
+            if deltaDepth1stLine > 1 
                 while line!= null and line.lineDepthAbs >= endLineDepthAbs
                     newDepth = line.lineDepthAbs - deltaDepth
                     line.lineDepthAbs = newDepth

            firstLineAfterSiblingsOfDeleted = line
            depthSibling = line.lineDepthAbs
            
            line = line.linePrev
            while line != null and line.lineDepthAbs > depthSibling
                line = line.linePrev
            if line != null
                prevSiblingType = line.lineType
                if firstLineAfterSiblingsOfDeleted.lineType!=prevSiblingType
                    if prevSiblingType[1]=='h'

            space = ' '
            while j < l
                lineElt = lineCode.children().get j
                if (j+2==l) then space= '' #be sure not to insert spaces after BR
                if lineElt.nodeType == 1 && converter[lineElt.nodeName]?
                    markCode += converter[lineElt.nodeName]($ lineElt) + space
                else
