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/);
|
.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…
Reference in New Issue
Block a user