Skip to content

Commit

Permalink
Handle duplicated jelenségs
Browse files Browse the repository at this point in the history
  • Loading branch information
briff authored and bertalan-fodor committed Nov 26, 2019
1 parent ad8989e commit 26ac7ed
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/Service/Text/VerseParsers/DefaultVerseParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class DefaultVerseParser extends AbstractVerseParser

protected function parseTextVerse($rawVerse, $verse)
{
$verse->simpleText = $rawVerse->verse;
$verse->simpleText .= $rawVerse->verse;
}

protected function parseXrefverse($book, $rawVerse, $verse)
Expand Down
2 changes: 1 addition & 1 deletion app/Service/Text/VerseParsers/KNBVerseParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ protected function parseTextVerse($rawVerse, $verseData)
{
$rawText = $rawVerse->verse;
$this->parseXrefs($rawText, $verseData);
$verseData->simpleText = $this->replaceTags($rawText);
$verseData->simpleText .= $this->replaceTags($rawText);
}

}
2 changes: 1 addition & 1 deletion app/Service/Text/VerseParsers/STLVerseParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ protected function parseTextVerse($rawVerse, $verseData)
}
$purified = preg_replace('/\s*' . self::FOOTNOTE_REGEXP . '/u', '', $purified);
}
$verseData->simpleText = $purified;
$verseData->simpleText .= $purified;
}

protected function parseFootnoteVerse(Verse $rawVerse, VerseData $verse)
Expand Down

0 comments on commit 26ac7ed

Please sign in to comment.