dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Escaping fixes
[lhc/web/wiklou.git]
/
includes
/
ChangesList.php
diff --git
a/includes/ChangesList.php
b/includes/ChangesList.php
index
69eeed9
..
fa1b724
100644
(file)
--- a/
includes/ChangesList.php
+++ b/
includes/ChangesList.php
@@
-176,7
+176,7
@@
class ChangesList {
if( '' != $this->lastdate ) {
$s .= "</ul>\n";
}
if( '' != $this->lastdate ) {
$s .= "</ul>\n";
}
- $s .=
'<h4>'.$date."</h4>
\n<ul class=\"special\">";
+ $s .=
Xml::element( 'h4', null, $date ) . "
\n<ul class=\"special\">";
$this->lastdate = $date;
$this->rclistOpen = true;
}
$this->lastdate = $date;
$this->rclistOpen = true;
}
@@
-517,7
+517,7
@@
class EnhancedChangesList extends ChangesList {
# Process current cache
$ret = $this->recentChangesBlock();
$this->rc_cache = array();
# Process current cache
$ret = $this->recentChangesBlock();
$this->rc_cache = array();
- $ret .=
"<h4>{$date}</h4>\n"
;
+ $ret .=
Xml::element( 'h4', null, $date )
;
$this->lastdate = $date;
}
$this->lastdate = $date;
}