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:
parent
b117f022e6
commit
977e669805
2 changed files with 19 additions and 1 deletions
2
book.php
2
book.php
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue