From 6c709fb9e4c52a924da81d2c3d31c7c2e101651b Mon Sep 17 00:00:00 2001 From: asajedi Date: Wed, 17 Nov 2021 03:18:20 +0100 Subject: [PATCH] Remove hyphen from edited text --- src/Import/Indexer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Import/Indexer.php b/src/Import/Indexer.php index fbe6efd..9538d62 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]))) { -- GitLab