From 28d6db77b75fe8d1d1b2bb45c8d1b3a0ae946853 Mon Sep 17 00:00:00 2001
From: Wil Mahan
Date: Sat, 2 Oct 2004 03:15:49 +0000
Subject: [PATCH] Some corrections, and a test for bug 361
---
maintenance/parserTests.txt | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/maintenance/parserTests.txt b/maintenance/parserTests.txt
index 626ca4ba95..8ad01a546d 100644
--- a/maintenance/parserTests.txt
+++ b/maintenance/parserTests.txt
@@ -498,6 +498,15 @@ External links: URL within URL (original bug 2)
!! end
+!! test
+BUG 361: URL inside bracketed URL
+!! input
+[http://www.example.com/foo http://www.example.com/bar]
+!! result
+http://www.example.com/bar (http://www.example.com/foo)
+
+!! end
+
###
### Quotes
###
@@ -1351,7 +1360,7 @@ Image caption with a free URL
!! input
[[Image:foo|http://example.com]]
!! result
-http://example.com
+
!! end
@@ -1361,6 +1370,7 @@ Thumbnail image caption with a free URL
[[Image:foo|thumb|http://example.com]]
!! result
+
!! end
!! test
--
2.20.1