Permalink
Browse files

allow @ in url params

  • Loading branch information...
1 parent ef30ae9 commit 65841ff24c2db9d8355ddb26ce13006a09c0da46 @jakl jakl committed Feb 26, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 autolink.yml
View
@@ -690,6 +690,10 @@ tests:
text: "See: http://example.com/@user"
expected: "See: <a href=\"http://example.com/@user\">http://example.com/@user</a>"
+ - description: "Correctly handles URL params containing @user"
+ text: "See: http://example.com/?@user=@user"
+ expected: "See: <a href=\"http://example.com/?@user=@user\">http://example.com/?@user=@user</a>"
+
- description: "Correctly handles URL with an @user followed by trailing /"
text: "See: http://example.com/@user/"
expected: "See: <a href=\"http://example.com/@user/\">http://example.com/@user/</a>"

0 comments on commit 65841ff

Please sign in to comment.