mirror of
https://github.com/silverstripe/silverstripe-textextraction
synced 2024-10-22 11:06:00 +02:00
FIX PDFTextExtractor no longer smushes words together than break across lines
This commit is contained in:
parent
e0125ba745
commit
e9e33605b4
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user