Update of /cvsroot/php-blog/serendipity/plugins/serendipity_plugin_recententries
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17845/plugins/serendipity_plugin_recententries
Modified Files:
serendipity_plugin_recententries.php
Log Message:
Merged changes: htmlspecialchars instead of htmlentities for preserving native charsets.
Index: serendipity_plugin_recententries.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/plugins/serendipity_plugin_recententries/serendipity_plugin_recententries.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- serendipity_plugin_recententries.php 5 Apr 2004 08:07:54 -0000 1.5
+++ serendipity_plugin_recententries.php 7 Apr 2004 12:42:44 -0000 1.6
@@ -81,9 +81,9 @@
'serendipityHTTPPath'
);
- echo '<a href="' . $entryLink . '" title="' . htmlentities($entry['title']) . '">' . $entry['title'] . '</a><br />'
+ echo '<a href="' . $entryLink . '" title="' . htmlspecialchars($entry['title']) . '">' . $entry['title'] . '</a><br />'
. '<div class="serendipitySideBarDate">'
- . htmlentities(strftime($dateformat, $entry['timestamp']))
+ . htmlspecialchars(strftime($dateformat, $entry['timestamp']))
. '</div><br />';
}
}
|