From 5dec0256bcf9b7b09e95d5c9bc4208152c3bdc75 Mon Sep 17 00:00:00 2001 From: Mark Wissink Date: Mon, 21 Sep 2026 19:37:56 -0400 Subject: [PATCH] Add nbsp --- utils/compile_bible.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/utils/compile_bible.py b/utils/compile_bible.py index e0524ea..03abfab 100644 --- a/utils/compile_bible.py +++ b/utils/compile_bible.py @@ -461,7 +461,9 @@ def render_inline(nodes, book, chapter, out): elif kind == "verse": label = esc(node["label"]) out.append('%s ' + # A non-breaking space keeps the number on the same + # line as the word it introduces, as the source does. + 'aria-label="Verse %s, options">%s ' % (verse_id(chapter, node["label"]), label, label)) elif kind == "noteref": n = node["id"].replace("FN", "")