RST reader: Skip blank space at beginning.

Resolves Debian Bug #611328.
This commit is contained in:
John MacFarlane 2011-01-28 08:52:54 -08:00
parent 382564ed9e
commit f90e18b955

View file

@ -91,6 +91,7 @@ titleTransform blocks = (blocks, [])
parseRST :: GenParser Char ParserState Pandoc
parseRST = do
spaces -- skip blanks at beginning of file
startPos <- getPosition
-- go through once just to get list of reference keys and notes
-- docMinusKeys is the raw document with blanks where the keys were...