Hopefully fix all the remaining case where the book summary is full of HTML crap.

Should fix all the OPDS page not working with Mantano and FBReaderJ.
This commit is contained in:
Sébastien Lucas 2013-02-19 21:50:38 +01:00
parent b117f022e6
commit 977e669805
2 changed files with 19 additions and 1 deletions

View file

@ -254,7 +254,7 @@ class Book extends Base {
}
if (preg_match ("/<\/(div|p|a)>/", $this->comment))
{
return $addition . preg_replace ("/<(br|hr)>/", "<$1 />", $this->comment);
return $addition . html2xhtml ($this->comment);
}
else
{