From 63eea0f7370b3f180ec2e19f93621cd0796f83ef Mon Sep 17 00:00:00 2001 From: Platonides Date: Mon, 17 Jan 2011 23:12:07 +0000 Subject: [PATCH] Follow up r80461. In some cases the closing tags for internal tags were not recognised. --- tests/phpunit/includes/parser/PreprocessorTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/phpunit/includes/parser/PreprocessorTest.php b/tests/phpunit/includes/parser/PreprocessorTest.php index b072853672..472c14548a 100644 --- a/tests/phpunit/includes/parser/PreprocessorTest.php +++ b/tests/phpunit/includes/parser/PreprocessorTest.php @@ -35,6 +35,8 @@ class PreprocessorTest extends MediaWikiTestCase { array( " ", "<foo> gallery</gallery>" ), array( " ", "<foo> gallery<gallery></gallery>" ), array( " Foo bar ", "<noinclude> Foo bar </noinclude>" ), + array( "\n{{Foo}}\n", "<noinclude>\n\n</noinclude>" ), + array( "\n{{Foo}}\n\n", "<noinclude>\n\n</noinclude>\n" ), array( "foo bar", "galleryfoo bar" ), array( "", "gallery</gallery</gallery>" ), array( "=== Foo === ", "=== Foo === " ), -- 2.20.1