Unverified Commit 5a863541 authored by hexeth's avatar hexeth Committed by GitHub

Fix object object

parent b1d2b68b
...@@ -92,7 +92,7 @@ if ( $( 'body.book' ).length > 0 ) { ...@@ -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' ));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment