]> _ Git - psq.git/commitdiff
Update PdfFile.php
authorLouis Jeckel <louis.jeckel@outlook.cm>
Thu, 27 Aug 2020 16:42:33 +0000 (18:42 +0200)
committerLouis Jeckel <louis.jeckel@outlook.cm>
Thu, 27 Aug 2020 16:42:33 +0000 (18:42 +0200)
app/PdfFile.php

index 0b8aaef5aa8d86005aa8fd3f143f145f7d2d7f9b..942252885b9d8836f8c73d35bfa8278177f3e087 100644 (file)
@@ -425,7 +425,7 @@ class PdfFile extends TwillModel implements Sortable
                 $text = preg_replace('/^([A-Z]) /', '$1', $text);
 
                 $result[] = [
-                    'content' => trim($text),
+                    'content' => Str::lower(trim($text)),
                     'page' => $page_i,
                 ];
             }