summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/spac-chr.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2019-12-16 19:08:50 +0100
committerContext Git Mirror Bot <phg@phi-gamma.net>2019-12-16 19:08:50 +0100
commit37cca59f16fc3ab5bf3ce19fd94161d1c2f6ffdc (patch)
tree556706cc5366aa3b9bb371fe78c27e42ad625e46 /tex/context/base/mkiv/spac-chr.lua
parent3b6d2d411fdb8fdaef0a4b8045bfdc60a70ce4f0 (diff)
downloadcontext-37cca59f16fc3ab5bf3ce19fd94161d1c2f6ffdc.tar.gz
2019-12-16 18:46:00
Diffstat (limited to 'tex/context/base/mkiv/spac-chr.lua')
-rw-r--r--tex/context/base/mkiv/spac-chr.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/tex/context/base/mkiv/spac-chr.lua b/tex/context/base/mkiv/spac-chr.lua
index 23cf9741b..b32565f19 100644
--- a/tex/context/base/mkiv/spac-chr.lua
+++ b/tex/context/base/mkiv/spac-chr.lua
@@ -131,11 +131,10 @@ local function nbsp(head,current)
local para = fontparameters[getfont(current)]
if getattr(current,a_alignstate) == 1 then -- flushright
head, current = inject_nobreak_space(0x00A0,head,current,para.space,0,0)
- setsubtype(current,spaceskip_code)
else
head, current = inject_nobreak_space(0x00A0,head,current,para.space,para.spacestretch,para.spaceshrink)
- setsubtype(current,spaceskip_code)
end
+ setsubtype(current,spaceskip_code)
return head, current
end