mirror of
https://github.com/janeczku/calibre-web
synced 2024-11-28 12:30:00 +00:00
Fix object object
This commit is contained in:
parent
b1d2b68bb1
commit
5a863541de
@ -92,7 +92,7 @@ if ( $( 'body.book' ).length > 0 ) {
|
||||
.replace(/^(?=\n)$|^\s*|\s*$|\n\n+/gm,"").split(/\n/);
|
||||
}
|
||||
else {
|
||||
newdesc = description.toString();
|
||||
newdesc = description.text();
|
||||
}
|
||||
doc = nlp ( newdesc.toString() );
|
||||
sentences = doc.map((m)=> m.out( 'text' ));
|
||||
|
Loading…
Reference in New Issue
Block a user