diff options
author | Jonas Smedegaard <dr@jones.dk> | 2025-04-19 12:59:38 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2025-04-19 12:59:38 +0200 |
commit | 1b35ad6d526f88d15c730bbea8f54bc1c73addc0 (patch) | |
tree | 7308020c0180a0b270dba523094189d0450a55ce /_extensions | |
parent | 35e83eb1e8c618d8f63f3e65a53f3195b8939221 (diff) |
cover legacy mμ unit in nobreaks filter
Diffstat (limited to '_extensions')
-rw-r--r-- | _extensions/js/nobreaks/nobreaks.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_extensions/js/nobreaks/nobreaks.lua b/_extensions/js/nobreaks/nobreaks.lua index b1d60e2..f4e26a2 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 |