diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-12-02 18:18:30 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-12-02 18:18:30 -0800 |
commit | 48b7d250bb5cc7656754dbd9288ee30491933397 (patch) | |
tree | 427ebec80603a447c3f3c6487b61d9487804018f /src/Text/Pandoc/CSS.hs | |
parent | ad6578f6732a397a453249a5b66e1c5f63a6d847 (diff) | |
parent | d901a3da03ee1cfef09ea3001a2917ce6e2896a2 (diff) | |
download | pandoc-48b7d250bb5cc7656754dbd9288ee30491933397.tar.gz |
Merge pull request #2568 from mb21/readers-images
Textile Reader: image attributes
Diffstat (limited to 'src/Text/Pandoc/CSS.hs')
-rw-r--r-- | src/Text/Pandoc/CSS.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/CSS.hs b/src/Text/Pandoc/CSS.hs index f829ebf82..2287a5958 100644 --- a/src/Text/Pandoc/CSS.hs +++ b/src/Text/Pandoc/CSS.hs @@ -10,7 +10,7 @@ import Text.Parsec.String ruleParser :: Parser (String, String) ruleParser = do p <- many1 (noneOf ":") <* char ':' - v <- many1 (noneOf ":;") <* char ';' <* spaces + v <- many1 (noneOf ":;") <* (optional $ char ';') <* spaces return (trim p, trim v) styleAttrParser :: Parser [(String, String)] |