1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-09-05 20:37:57 +00:00

Fix object object

This commit is contained in:
hexeth
2019-02-19 13:44:40 -08:00
committed by GitHub
parent b1d2b68bb1
commit 5a863541de

View File

@@ -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' ));