From 681a724e8e153c9592c72ebbd418555e65a8881d Mon Sep 17 00:00:00 2001 From: Ryderjj89 Date: Sun, 14 Sep 2025 11:45:25 -0400 Subject: [PATCH] Fix verse parsing regex to match actual markdown format (1. instead of 1 ) - this will make verse stars appear --- frontend/src/components/BibleReader.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/BibleReader.tsx b/frontend/src/components/BibleReader.tsx index 5cd1248d..09c65b57 100644 --- a/frontend/src/components/BibleReader.tsx +++ b/frontend/src/components/BibleReader.tsx @@ -213,8 +213,8 @@ const BibleReader: React.FC = ({ book, chapter, onBack, format // Skip empty lines if (!line) continue; - // Check if line starts with verse number (e.g., "1 ", "2 ", etc.) - const verseMatch = line.match(/^(\d+)\s+(.+)$/); + // Check if line starts with verse number (e.g., "1. ", "2. ", etc.) + const verseMatch = line.match(/^(\d+)\.\s+(.+)$/); if (verseMatch) { const verseNumber = verseMatch[1]; const verseText = verseMatch[2];