cvs: phpweb / books.php
| From: | Gabor Hojtsy | Date: | Sat, 09 Aug 2003 09:06:26 +0000 |
| Subject: | cvs: phpweb / books.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-20036@lists.php.net to get a copy of this message | ||
goba Sat Aug 9 05:06:26 2003 EDT
Modified files:
/phpweb books.php
Log:
Only deal with & in the info text, there are infos with HTML content
Index: phpweb/books.php
diff -u phpweb/books.php:1.196 phpweb/books.php:1.197
--- phpweb/books.php:1.196 Sat Aug 9 04:44:58 2003
+++ phpweb/books.php Sat Aug 9 05:06:26 2003
@@ -1,5 +1,5 @@
<?php
-// $Id: books.php,v 1.196 2003/08/09 08:44:58 goba Exp $
+// $Id: books.php,v 1.197 2003/08/09 09:06:26 goba Exp $
/*
This script provides an interface to our books listing
@@ -136,7 +136,7 @@
if ($lang != "en") {
echo "in " . $book_langs[$lang] . "<br />\n";
}
- echo htmlspecialchars($info) . "</p>\n";
+ echo str_replace("& ", "& ", $info) .
"</p>\n";
}
echo "<p>" . make_link(
$info_link ? $info_link : $title_link,