Permalink
Browse files

Allow pipe character in URLs

  • Loading branch information...
1 parent 3db5d8d commit 62c6f38496999e6fa35245885df1be7feded2668 Mark Christian committed Jan 7, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 autolink.yml
View
4 autolink.yml
@@ -184,6 +184,10 @@ tests:
urls:
+ - description: "Autolink URL with pipe character"
+ text: "text http://example.com/pipe|character?yes|pipe|character"
+ expected: "text <a href=\"http://example.com/pipe|character?yes|pipe|character\">http://example.com/pipe|character?yes|pipe|character</
+
- description: "Autolink trailing url"
text: "text http://example.com"
expected: "text <a href=\"http://example.com\">http://example.com</a>"

0 comments on commit 62c6f38

Please sign in to comment.