summaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
Diffstat (limited to 'src/Text')
-rw-r--r--src/Text/Pandoc/Readers/RST.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Text/Pandoc/Readers/RST.hs b/src/Text/Pandoc/Readers/RST.hs
index e929e2b91..1b0365c72 100644
--- a/src/Text/Pandoc/Readers/RST.hs
+++ b/src/Text/Pandoc/Readers/RST.hs
@@ -709,8 +709,7 @@ table = gridTable False <|> simpleTable False <|>
--
inline :: GenParser Char ParserState Inline
-inline = choice [ smartPunctuation inline
- , link
+inline = choice [ link
, str
, whitespace
, endline
@@ -718,11 +717,12 @@ inline = choice [ smartPunctuation inline
, emph
, code
, image
- , hyphens
, superscript
, subscript
- , escapedChar
, note
+ , smartPunctuation inline
+ , hyphens
+ , escapedChar
, symbol ] <?> "inline"
hyphens :: GenParser Char ParserState Inline