diff --git a/src/Import/Indexer.php b/src/Import/Indexer.php index fbe6efd954859a9b6627ddeadfd5acd8db96b7e3..9538d62098730bed4a6270622da7affa3b8d04ca 100644 --- a/src/Import/Indexer.php +++ b/src/Import/Indexer.php @@ -475,7 +475,7 @@ class Indexer implements IndexerInterface if (isset($transcription) && !empty($transcription)) { $doc->transcripted_text = $transcription; - $doc->edited_text = $editedText; + $doc->edited_text = $this->removeHyphen($editedText); } if (!empty($numberOfPages) && $numberOfPages) { @@ -508,7 +508,7 @@ class Indexer implements IndexerInterface } if (isset($pagesEdited[$i]) && !empty($pagesEdited[$i])) { - $childDoc->edited_text = $pagesEdited[$i]; + $childDoc->edited_text = $this->removeHyphen($pagesEdited[$i]); } if (isset($pagesGndsUuids[$i]) && !empty(($pagesGndsUuids[$i]))) {