Markdown reader: Be less restrictive about class attributes.
This allows attributes like `C++`. Any nonspace and non-}.
This commit is contained in:
parent
31fa80fdcb
commit
b158b3fb21
1 changed files with 1 additions and 1 deletions
|
@ -506,7 +506,7 @@ identifierAttr = try $ do
|
|||
classAttr :: Parser [Char] st (String, [String], [a])
|
||||
classAttr = try $ do
|
||||
char '.'
|
||||
result <- identifier
|
||||
result <- many1 $ noneOf " \t\n\r}"
|
||||
return ("",[result],[])
|
||||
|
||||
keyValAttr :: Parser [Char] st (String, [a], [(String, String)])
|
||||
|
|
Loading…
Add table
Reference in a new issue