]> gitweb.michael.orlitzky.com - dead/halcyon.git/commitdiff
Escape an '@' in a Haddock comment.
authorMichael Orlitzky <michael@orlitzky.com>
Sun, 11 Dec 2011 14:40:00 +0000 (09:40 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Sun, 11 Dec 2011 14:40:00 +0000 (09:40 -0500)
src/Twitter/Status.hs

index e40bc6a6a718aa4b68e62902125859b128fc91ad..976ccb31590c134bcaa766cd3d718a4bdf9dd454 100644 (file)
@@ -131,7 +131,7 @@ parse_username word =
       matches = matchRegex username_regex word
 
 
       matches = matchRegex username_regex word
 
 
--- |Parse all usernames of the form @username from a status.
+-- |Parse all usernames of the form \@username from a status.
 parse_usernames_from_status :: Status -> [String]
 parse_usernames_from_status status =
     catMaybes (map parse_username status_words)
 parse_usernames_from_status :: Status -> [String]
 parse_usernames_from_status status =
     catMaybes (map parse_username status_words)