visuddhinanda 4 месяцев назад
Родитель
Сommit
bc7867b3fe
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      api-v8/app/Services/SearchPaliDataService.php

+ 1 - 1
api-v8/app/Services/SearchPaliDataService.php

@@ -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']);
         }