RST reader: Skip blank space at beginning.
Resolves Debian Bug #611328.
This commit is contained in:
parent
382564ed9e
commit
f90e18b955
1 changed files with 1 additions and 0 deletions
|
@ -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...
|
||||
|
|
Loading…
Reference in a new issue