Update of /cvsroot/php-blog/serendipity/bundled-libs/Text/Wiki/Rule
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17845/bundled-libs/Text/Wiki/Rule
Modified Files:
code.php
Log Message:
Merged changes: htmlspecialchars instead of htmlentities for preserving native charsets.
Index: code.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/bundled-libs/Text/Wiki/Rule/code.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- code.php 26 Feb 2004 11:27:54 -0000 1.1
+++ code.php 7 Apr 2004 12:42:43 -0000 1.2
@@ -95,7 +95,7 @@
$text = str_replace("\t", " ", $text);
// convert entities
- $text = htmlentities($text);
+ $text = htmlspecialchars($text);
// done!
return "\n<pre><code>$text</code></pre>\n";
|