mirror of
https://github.com/silverstripe/silverstripe-textextraction
synced 2024-10-22 09:06:00 +00:00
Merge pull request #30 from dhensby/pulls/pdf-extraction
FIX PDFTextExtractor no longer smushes words together than break acro…
This commit is contained in:
commit
5a5c648c1e
@ -110,10 +110,10 @@ class PDFTextExtractor extends FileTextExtractor
|
||||
throw new FileTextExtractor_Exception(sprintf(
|
||||
'PDFTextExtractor->getContent() failed for %s: %s',
|
||||
$path,
|
||||
implode('', $err)
|
||||
implode(PHP_EOL, $err)
|
||||
));
|
||||
}
|
||||
return implode('', $content);
|
||||
return implode(PHP_EOL, $content);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user