diff options
author | Hans Hagen <pragma@wxs.nl> | 2021-04-26 01:39:06 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2021-04-26 01:39:06 +0200 |
commit | 643bd3f4610ad64823521fac6fc8bb5f1b76eb3f (patch) | |
tree | 08d3070c709f255a6a621b3f797b301014288aab /tex/context/base/mkiv/spac-chr.lua | |
parent | 8beb3b723a828ee7e1a12677b6ef04506ceac45f (diff) | |
download | context-643bd3f4610ad64823521fac6fc8bb5f1b76eb3f.tar.gz |
2021-04-26 00:54:00
Diffstat (limited to 'tex/context/base/mkiv/spac-chr.lua')
-rw-r--r-- | tex/context/base/mkiv/spac-chr.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tex/context/base/mkiv/spac-chr.lua b/tex/context/base/mkiv/spac-chr.lua index fa6eb18a5..7ec3e3cc4 100644 --- a/tex/context/base/mkiv/spac-chr.lua +++ b/tex/context/base/mkiv/spac-chr.lua @@ -130,7 +130,7 @@ end local function nbsp(head,current) local para = fontparameters[getfont(current)] local attr = getattr(current,a_alignstate) or 0 - if attr >= 1 or attr <= 3 then -- flushright + if attr >= 1 and attr <= 3 then -- flushright head, current = inject_nobreak_space(0x00A0,head,current,para.space,0,0) else head, current = inject_nobreak_space(0x00A0,head,current,para.space,para.spacestretch,para.spaceshrink) |