@@ -71,8 +71,8 @@ readSection _ _ [] = []
7171readSection renderFunction isFirst ls
7272 | not isDelimiter' = body ls
7373 | isNamedDelimiter = readSectionMetaData ls
74− | isFirst = readSimpleMetaData (tail ls)
75− | otherwise = body (tail ls)
74+ | isFirst = readSimpleMetaData (drop 1 ls)
75+ | otherwise = body (drop 1 ls)
7676 where
7777 isDelimiter' = isPossibleDelimiter (head ls)
7878 isNamedDelimiter = head ls `matchesRegex` "^----* *[a-zA-Z0-9][a-zA-Z0-9]*"
@@ -80,7 +80,7 @@ readSection renderFunction isFirst ls
8080
8181 readSimpleMetaData = map readPair . filter (not . all isSpace)
8282 readPair = trimPair . break (== ':')
83− trimPair (key, value) = (trim key, trim $ tail value)
83+ trimPair (key, value) = (trim key, trim $ drop 1 value)
8484
8585 readSectionMetaData [] = []
8686 readSectionMetaData (header:value) =