dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f35fcb8
)
$wgHTML5 is a different variable than $wgHtml5 and the right name is the later.
author
Platonides
<platonides@gmail.com>
Mon, 26 Nov 2012 21:34:40 +0000
(22:34 +0100)
committer
Platonides
<platonides@gmail.com>
Mon, 26 Nov 2012 21:34:40 +0000
(22:34 +0100)
Change-Id: Idfc2e2b61a791a2d9d6a33cbffe2fc12054e22d8
tests/phpunit/includes/SanitizerTest.php
patch
|
blob
|
history
diff --git
a/tests/phpunit/includes/SanitizerTest.php
b/tests/phpunit/includes/SanitizerTest.php
index
b678647
..
90fd482
100644
(file)
--- a/
tests/phpunit/includes/SanitizerTest.php
+++ b/
tests/phpunit/includes/SanitizerTest.php
@@
-70,10
+70,10
@@
class SanitizerTest extends MediaWikiTestCase {
* @param Boolean $escaped Wheter sanitizer let the tag in or escape it (ie: '<video>')
*/
function testRemovehtmltagsOnHtml5Tags( $tag, $escaped ) {
+ global $wgHtml5;
# Enable HTML5 mode
- global $wgHTML5;
- $save = $wgHTML5;
+ $save = $wgHtml5;
$wgHTML5 = true;
if( $escaped ) {
@@
-85,7
+85,7
@@
class SanitizerTest extends MediaWikiTestCase {
Sanitizer::removeHTMLtags( "<$tag>" )
);
}
- $wgH
TML
5 = $save;
+ $wgH
tml
5 = $save;
}
/**