Yet another & usage fix

This commit is contained in:
Sébastien Lucas 2012-06-18 17:02:05 +02:00
parent 875a776dc1
commit 269e33447c

View file

@ -122,7 +122,7 @@ class Book extends Base {
$addition = ""; $addition = "";
$se = $this->getSerie (); $se = $this->getSerie ();
if (!is_null ($se) && $withSerie) { if (!is_null ($se) && $withSerie) {
$addition = $addition . "<strong>" . localize("content.series") . "</strong>" . str_format (localize ("content.series.data"), $this->seriesIndex, $se->name) . "<br />\n"; $addition = $addition . "<strong>" . localize("content.series") . "</strong>" . str_format (localize ("content.series.data"), $this->seriesIndex, htmlspecialchars ($se->name)) . "<br />\n";
} }
if (preg_match ("/<\/(div|p|a)>/", $this->comment)) if (preg_match ("/<\/(div|p|a)>/", $this->comment))
{ {