@@ -327,7 +327,7 @@ maybeExplicitBlock :: String -- ^ block tag name
327327 -> Parser [Char] ParserState Block
328328maybeExplicitBlock name blk = try $ do
329329 optional $ try $ string name >> optional attributes >> char '.' >>
330− ((try whitespace) <|> endline)
330+ optional whitespace >> optional endline
331331 blk
332332
333333
@@ -427,7 +427,10 @@ wordBoundaries = markupChars ++ stringBreakers
427427
428428-- | Parse a hyphened sequence of words
429429hyphenedWords :: Parser [Char] ParserState String
430−hyphenedWords = intercalate "-" <$> sepBy1 wordChunk (char '-')
430+hyphenedWords = do
431+ x <- wordChunk
432+ xs <- many (try $ char '-' >> wordChunk)
433+ return $ intercalate "-" (x:xs)
431434
432435wordChunk :: Parser [Char] ParserState String
433436wordChunk = try $ do