* Also use htmlspecialchars() for the Recent Entries sidebar plugin
(Anson)
This commit is contained in:
parent
56bd3582b7
commit
518bde82b2
@ -3,6 +3,9 @@
|
||||
Version 1.5 ()
|
||||
------------------------------------------------------------------------
|
||||
|
||||
* Also use htmlspecialchars() for the Recent Entries sidebar plugin
|
||||
(Anson)
|
||||
|
||||
* Fixed Spartacus download URLs for SF.Net mirror (christian_boltz)
|
||||
|
||||
* Allow redirects when fetching remote images (garvinhicking)
|
||||
|
@ -21,7 +21,7 @@ class serendipity_plugin_recententries extends serendipity_plugin {
|
||||
$propbag->add('description', PLUGIN_RECENTENTRIES_BLAHBLAH);
|
||||
$propbag->add('stackable', true);
|
||||
$propbag->add('author', 'Christian Machmeier, Christian Brabandt, Judebert, Don Chambers');
|
||||
$propbag->add('version', '2.0');
|
||||
$propbag->add('version', '2.1');
|
||||
$propbag->add('requirements', array(
|
||||
'serendipity' => '0.8',
|
||||
'smarty' => '2.6.7',
|
||||
@ -223,7 +223,7 @@ class serendipity_plugin_recententries extends serendipity_plugin {
|
||||
$entry['title'] = '#' . $entry['id'];
|
||||
}
|
||||
|
||||
echo '<dt class="serendipity_recententries_entrylink"><a href="' . $entryLink . '" title="' . htmlspecialchars($entry['title']) . '">' . $entry['title'] . '</a></dt>' . "\n"
|
||||
echo '<dt class="serendipity_recententries_entrylink"><a href="' . $entryLink . '" title="' . htmlspecialchars($entry['title']) . '">' . htmlspecialchars($entry['title']) . '</a></dt>' . "\n"
|
||||
. '<dd class="serendipity_recententries_entrydate serendipitySideBarDate">'
|
||||
. htmlspecialchars(serendipity_strftime($dateformat, $entry['timestamp']))
|
||||
. '</dd>' . "\n";
|
||||
|
Loading…
x
Reference in New Issue
Block a user