aboutsummaryrefslogtreecommitdiff
path: root/_extensions
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2025-04-19 12:53:06 +0200
committerJonas Smedegaard <dr@jones.dk>2025-04-19 12:53:06 +0200
commit35e83eb1e8c618d8f63f3e65a53f3195b8939221 (patch)
treec80eb58437796efcaf99fd3a9be1262bee830a21 /_extensions
parent3a891bccc7dcbd6239b5384ddcd63c8e39f9156e (diff)
cover more non-ASCII units in nobreaks filter
Diffstat (limited to '_extensions')
-rw-r--r--_extensions/js/nobreaks/nobreaks.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/_extensions/js/nobreaks/nobreaks.lua b/_extensions/js/nobreaks/nobreaks.lua
index dad13d5..b1d60e2 100644
--- a/_extensions/js/nobreaks/nobreaks.lua
+++ b/_extensions/js/nobreaks/nobreaks.lua
@@ -10,7 +10,7 @@ function Para(el)
if el_prev and el_next
and el_prev.t == "Str" and el_next.t == "Str"
and string.match(el_prev.text, "%d$")
- and string.match(el_next.text, "^[%a%%§°]")
+ and string.match(el_next.text, "^[%a%%§°Ωμ]")
then
el.content[i] = non_breaking_space
end