|
|
@@ -113,7 +113,7 @@ class SearchPaliDataService
|
|
|
foreach ($sentences as $key => $sentence) {
|
|
|
$content = $this->getSentenceText($book, $para, $sentence->word_begin, $sentence->word_end);
|
|
|
$id = "{$book}-{$para}-{$sentence->word_begin}-{$sentence->word_end}";
|
|
|
- $markdown[] = $content['markdown'];
|
|
|
+ $markdown[] = "`id:{$id}`" . $content['markdown'];
|
|
|
$text[] = $content['text'];
|
|
|
$wordList = array_merge($wordList, $content['words']);
|
|
|
}
|