Don't add dummy foreword

This commit is contained in:
Vit Brunner
2013-06-22 10:10:01 +01:00
parent b65460d74e
commit f7dadb00c6
2 changed files with 0 additions and 6 deletions
@@ -39,10 +39,6 @@ angular.module("sideBySide").factory("markdownReader", () ->
readContent = (lexed, separators) ->
content = []
# if first block is separator, add dummy foreword
if lexed[0]["type"] in separators
lexed.unshift({type: "paragraph", text: ""})
while lexed.length > 0
heading = if lexed[0]["type"] in separators \
then lexed.shift().text or "" \