@ -97,7 +97,7 @@ class RoblibSearchSolrsiteController extends ControllerBase {
if (!empty($body)) {
$bodyOutput = strip_tags($body[0]->getText());
if (strlen($bodyOutput) > 500) {
$bodyOutput = substr($bodyOutput, 0, 500) . '...';
$bodyOutput = substr($bodyOutput, 0, 499) . '...';
}
$output['results'][$id]['body'] = empty($bodyOutput) ? '' : $bodyOutput;