Test for bug 499
authorWil Mahan <wmahan@users.mediawiki.org>
Mon, 4 Oct 2004 22:26:16 +0000 (22:26 +0000)
committerWil Mahan <wmahan@users.mediawiki.org>
Mon, 4 Oct 2004 22:26:16 +0000 (22:26 +0000)
maintenance/parserTests.txt

index 8ad01a5..7749ad9 100644 (file)
@@ -1382,6 +1382,15 @@ Image caption with a link
 </p>
 !! end
 
+!! test
+BUG 499: Alt text should have &#1234;, not &amp;1234;
+!! input
+[[Image:image.jpg|&#9792;]]
+!! result
+<p><a href="/wiki/Image:Image.jpg" class="image" title="&#9792;"><img src="/images/7/78/Image.jpg" alt="&#9792;" /></a>
+</p>
+!! end
+
 ###
 ### Subpages
 ###