From: Wil Mahan
Date: Sat, 2 Oct 2004 03:15:49 +0000 (+0000)
Subject: Some corrections, and a test for bug 361
X-Git-Tag: 1.5.0alpha1~1696
X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=28d6db77b75fe8d1d1b2bb45c8d1b3a0ae946853;p=lhc%2Fweb%2Fwiklou.git
Some corrections, and a test for bug 361
---
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