RST reader: Big speed improvement (300->260ms).
Moved whitespace parser to top of inline parsers.
This commit is contained in:
parent
b9356fcc7e
commit
a6d7d88b0f
1 changed files with 2 additions and 2 deletions
|
@ -709,9 +709,9 @@ table = gridTable False <|> simpleTable False <|>
|
|||
--
|
||||
|
||||
inline :: GenParser Char ParserState Inline
|
||||
inline = choice [ link
|
||||
inline = choice [ whitespace
|
||||
, link
|
||||
, str
|
||||
, whitespace
|
||||
, endline
|
||||
, strong
|
||||
, emph
|
||||
|
|
Loading…
Reference in a new issue