From 4cd573c61f61885cb368b40dccd1b458c39846c7 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 6 Nov 2012 16:05:17 -0800 Subject: Textile reader/writer: Fixed autolinks. Previously the textile reader and writer incorrectly implented RST-style autolinks for URLs and email addresses. This has been fixed. Now an autolink is done this way: "$":http://myurl.com --- tests/writer.textile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/writer.textile') diff --git a/tests/writer.textile b/tests/writer.textile index 51aca5a08..ace6d8763 100644 --- a/tests/writer.textile +++ b/tests/writer.textile @@ -650,15 +650,15 @@ Here's an "inline link in pointy braces":/script?foo=1&bar=2. h2. Autolinks -With an ampersand: "http://example.com/?foo=1&bar=2":http://example.com/?foo=1&bar=2 +With an ampersand: "$":http://example.com/?foo=1&bar=2 * In a list? -* "http://example.com/":http://example.com/ +* "$":http://example.com/ * It should. -An e-mail address: "nobody@nowhere.net":mailto:nobody@nowhere.net +An e-mail address: "nobody@nowhere.net":mailto:nobody@nowhere.net -bq. Blockquoted: "http://example.com/":http://example.com/ +bq. Blockquoted: "$":http://example.com/ -- cgit v1.2.3