Enable verse linking in list items

Added 'li' to the verse linking selector so that verse references in
list items are automatically converted to clickable links. This fixes
verse references not being linked in sections like "Questions for
Reflection" which use unordered lists.

Now verse references like "1 Peter 5:8" in list items throughout the
site will be automatically linked to their corresponding verse pages.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-11-28 19:07:12 -05:00
parent d384a2b8e9
commit b7aa89931e
+1 -1
View File
@@ -1949,7 +1949,7 @@
}
// Link verses in common content areas
document.querySelectorAll('.intro-text, .prophet-description, .angel-description, .covenant-description, p').forEach(function(element) {
document.querySelectorAll('.intro-text, .prophet-description, .angel-description, .covenant-description, p, li').forEach(function(element) {
// Skip if already processed or if it's in the sidebar
if (element.closest('.nav-sidebar') || element.dataset.verseLinked) {
return;