Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #51 from twitter/allow_@_in_url

allow @ in urls
  • Loading branch information...
commit ef30ae9a3fb99957432b48c92dad31fd476cd093 2 parents 5a1e4e1 + 91e8af6
@jakl jakl authored
Showing with 2 additions and 6 deletions.
  1. +2 −6 autolink.yml
View
8 autolink.yml
@@ -686,13 +686,9 @@ tests:
text: "http://www.flickr.com/photos/29674651@N00/4382024406 if you know what's good for you."
expected: "<a href=\"http://www.flickr.com/photos/29674651@N00/4382024406\">http://www.flickr.com/photos/29674651@N00/4382024406</a> if you know what's good for you."
- - description: "Autolink all does not allow & without ?"
- text: "Check out: http://example.com/test&@chasesechrist"
- expected: "Check out: <a href=\"http://example.com/test\">http://example.com/test</a>&@chasesechrist"
-
- - description: "Correctly handles URL follower directly by @user"
+ - description: "Correctly handles URL followed directly by @user"
text: "See: http://example.com/@user"
- expected: "See: <a href=\"http://example.com/\">http://example.com/</a>@<a class=\"tweet-url username\" href=\"https://twitter.com/user\">user</a>"
+ expected: "See: <a href=\"http://example.com/@user\">http://example.com/@user</a>"
- description: "Correctly handles URL with an @user followed by trailing /"
text: "See: http://example.com/@user/"
Please sign in to comment.
Something went wrong with that request. Please try again.