parent
276894a2f2
commit
f508c833f1
1 changed files with 2 additions and 0 deletions
|
@ -674,6 +674,8 @@ keyValAttr = try $ do
|
|||
char '='
|
||||
val <- enclosed (char '"') (char '"') litChar
|
||||
<|> enclosed (char '\'') (char '\'') litChar
|
||||
<|> ("" <$ try (string "\"\""))
|
||||
<|> ("" <$ try (string "''"))
|
||||
<|> many (escapedChar' <|> noneOf " \t\n\r}")
|
||||
return $ \(id',cs,kvs) ->
|
||||
case key of
|
||||
|
|
Loading…
Add table
Reference in a new issue