diff options
Diffstat (limited to 'extensions/ImageMap/imageMapParserTests.txt')
-rw-r--r-- | extensions/ImageMap/imageMapParserTests.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/extensions/ImageMap/imageMapParserTests.txt b/extensions/ImageMap/imageMapParserTests.txt new file mode 100644 index 00000000..707ad3f2 --- /dev/null +++ b/extensions/ImageMap/imageMapParserTests.txt @@ -0,0 +1,10 @@ +!! test +dummy test +!! input +<imagemap> +Image:Foobar.jpg +</imagemap> +!! result +<div class="noresize" style="height: 220px; width: 1941px; "><img alt="Foobar.jpg" src="http://example.com/images/3/3a/Foobar.jpg" width="1941" height="220"/><div style="margin-left: 1921px; margin-top: -20px; text-align: left;"><a href="/wiki/File:Foobar.jpg" title="About this image"><img alt="About this image" src="/extensions/ImageMap/desc-20.png" style="border: none;"/></a></div></div> + +!! end |