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:
afd9dbe
)
Fix double-escaping in 108312
author
Krinkle
<krinkle@users.mediawiki.org>
Mon, 9 Jan 2012 00:15:38 +0000
(
00:15
+0000)
committer
Krinkle
<krinkle@users.mediawiki.org>
Mon, 9 Jan 2012 00:15:38 +0000
(
00:15
+0000)
includes/OutputPage.php
patch
|
blob
|
history
diff --git
a/includes/OutputPage.php
b/includes/OutputPage.php
index
f691a0c
..
4114efc
100644
(file)
--- a/
includes/OutputPage.php
+++ b/
includes/OutputPage.php
@@
-813,7
+813,7
@@
class OutputPage extends ContextSource {
$this->mPagetitle = $nameWithTags;
# change "<i>foo&bar</i>" to "foo&bar"
- $this->setHTMLTitle( $this->msg( 'pagetitle' )->rawParams(
htmlspecialchars( Sanitizer::stripAllTags( $nameWithTags ) )
) );
+ $this->setHTMLTitle( $this->msg( 'pagetitle' )->rawParams(
Sanitizer::stripAllTags( $nameWithTags ) )->escaped(
) );
}
/**