diff --git a/plugins/serendipity_plugin_history/serendipity_plugin_history.php b/plugins/serendipity_plugin_history/serendipity_plugin_history.php
index 64f1a9cd..246db044 100644
--- a/plugins/serendipity_plugin_history/serendipity_plugin_history.php
+++ b/plugins/serendipity_plugin_history/serendipity_plugin_history.php
@@ -22,7 +22,7 @@ class serendipity_plugin_history extends serendipity_plugin
$propbag->add('description', PLUGIN_HISTORY_DESC);
$propbag->add('stackable', true);
$propbag->add('author', 'Jannis Hermanns');
- $propbag->add('version', '1.2');
+ $propbag->add('version', '1.3');
$propbag->add('requirements', array(
'serendipity' => '0.8',
'smarty' => '2.6.7',
@@ -191,7 +191,7 @@ class serendipity_plugin_history extends serendipity_plugin
$t = ($maxlength==0 || strlen($e[$x]['title'])<=$maxlength) ?
$e[$x]['title'] :
(trim(serendipity_mb('substr', $e[$x]['title'], 0, $maxlength-3)).' [...]');
- echo $author . $date . "".$t." " .
+ echo $author . $date . "". htmlspecialchars($t) ." " .
strip_tags($e[$x]['body']) . '
';
}
echo $outro;
@@ -199,4 +199,3 @@ class serendipity_plugin_history extends serendipity_plugin
}
/* vim: set sts=4 ts=4 expandtab : */
-?>