Fix object object

pull/819/head
hexeth 6 years ago committed by GitHub
parent b1d2b68bb1
commit 5a863541de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -92,7 +92,7 @@ if ( $( 'body.book' ).length > 0 ) {
.replace(/^(?=\n)$|^\s*|\s*$|\n\n+/gm,"").split(/\n/); .replace(/^(?=\n)$|^\s*|\s*$|\n\n+/gm,"").split(/\n/);
} }
else { else {
newdesc = description.toString(); newdesc = description.text();
} }
doc = nlp ( newdesc.toString() ); doc = nlp ( newdesc.toString() );
sentences = doc.map((m)=> m.out( 'text' )); sentences = doc.map((m)=> m.out( 'text' ));

Loading…
Cancel
Save