diff options
author | John MacFarlane <jgm@berkeley.edu> | 2013-01-17 11:24:45 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2013-01-17 11:24:45 -0800 |
commit | 054283d12f1e640140e72005d85a3617681fba8c (patch) | |
tree | 118316191672c928953c9db600cf07afcc8ecf4d /src/Text | |
parent | efcf19e5a4dba78c1db6dbb8935e9703ec45ecac (diff) | |
download | pandoc-054283d12f1e640140e72005d85a3617681fba8c.tar.gz |
Revert "Markdown reader: Be less restrictive about class attributes."
This reverts commit b158b3fb2182b5c8a6f03759277f4f73cdc24797.
Diffstat (limited to 'src/Text')
-rw-r--r-- | src/Text/Pandoc/Readers/Markdown.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/Markdown.hs b/src/Text/Pandoc/Readers/Markdown.hs index d470220c6..1f57d1918 100644 --- a/src/Text/Pandoc/Readers/Markdown.hs +++ b/src/Text/Pandoc/Readers/Markdown.hs @@ -506,7 +506,7 @@ identifierAttr = try $ do classAttr :: Parser [Char] st (String, [String], [a]) classAttr = try $ do char '.' - result <- many1 $ noneOf " \t\n\r}" + result <- identifier return ("",[result],[]) keyValAttr :: Parser [Char] st (String, [a], [(String, String)]) |