Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix doc parse failure

  • Loading branch information...
commit 501dd70f6c76b4fac82a68d0df047fb149513cdd 1 parent d85384f
Gregory Collins gregorycollins authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/Text/XmlHtml/TextParser.hs
2  src/Text/XmlHtml/TextParser.hs
View
@@ -69,7 +69,7 @@ isValidChar c | c < '\x9' = False
-- | Parses a 'Text' value and gives back the result. The parser is expected
-- to match the entire string.
parseText :: Parser a -- ^ The parser to match
- -> String -- ^ Name of the source file (can be @""@)
+ -> String -- ^ Name of the source file (can be @\"\"@)
-> Text -- ^ Text to parse
-> Either String a -- Either an error message or the result
parseText p src t = inLeft show (P.parse p src t)
Please sign in to comment.
Something went wrong with that request. Please try again.