Address comments
This commit is contained in:
parent
d216f167ff
commit
cf7ce71c8d
|
|
@ -551,7 +551,7 @@ function suitableTextAlternatives(text: string) {
|
||||||
|
|
||||||
result = result.filter(r => r.text);
|
result = result.filter(r => r.text);
|
||||||
if (!result.length)
|
if (!result.length)
|
||||||
result.push({ text: trimWordBoundary(text, 80), scoreBouns: 0 });
|
result.push({ text: text.substring(0, 80), scoreBouns: 0 });
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue