From 62a507de76cc2f94ebff52db29638c7ccb7febd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lucas?= Date: Thu, 21 Feb 2013 20:59:19 +0100 Subject: [PATCH] Add better detection of HTML content in book summary. --- book.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book.php b/book.php index cb6eca4..3cc8e65 100644 --- a/book.php +++ b/book.php @@ -261,7 +261,7 @@ class Book extends Base { if (!is_null ($se) && $withSerie) { $addition = $addition . "" . localize("content.series") . "" . str_format (localize ("content.series.data"), $this->seriesIndex, htmlspecialchars ($se->name)) . "
\n"; } - if (preg_match ("/<\/(div|p|a)>/", $this->comment)) + if (preg_match ("/<\/(div|p|a|span)>/", $this->comment)) { return $addition . html2xhtml ($this->comment); }