Add nbsp
This commit is contained in:
1 parent
5586694847
commit
5dec0256bc
1 file changed
+3
-1
@@ -461,7 +461,9 @@ def render_inline(nodes, book, chapter, out):
|
|||||||
elif kind == "verse":
|
elif kind == "verse":
|
||||||
label = esc(node["label"])
|
label = esc(node["label"])
|
||||||
out.append('<span class="v" id="%s" role="button" tabindex="0" '
|
out.append('<span class="v" id="%s" role="button" tabindex="0" '
|
||||||
'aria-label="Verse %s, options">%s</span> '
|
# 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</span> '
|
||||||
% (verse_id(chapter, node["label"]), label, label))
|
% (verse_id(chapter, node["label"]), label, label))
|
||||||
elif kind == "noteref":
|
elif kind == "noteref":
|
||||||
n = node["id"].replace("FN", "")
|
n = node["id"].replace("FN", "")
|
||||||
|
|||||||
Reference in new issue
Block a user