FIX PDFTextExtractor no longer smushes words together than break across lines

This commit is contained in:
Daniel Hensby 2016-10-03 23:59:18 +01:00
parent e0125ba745
commit e9e33605b4
No known key found for this signature in database
GPG Key ID: 229831A941962E26

View File

@ -110,10 +110,10 @@ class PDFTextExtractor extends FileTextExtractor
throw new FileTextExtractor_Exception(sprintf( throw new FileTextExtractor_Exception(sprintf(
'PDFTextExtractor->getContent() failed for %s: %s', 'PDFTextExtractor->getContent() failed for %s: %s',
$path, $path,
implode('', $err) implode(PHP_EOL, $err)
)); ));
} }
return implode('', $content); return implode(PHP_EOL, $content);
} }
/** /**