summaryrefslogtreecommitdiff
path: root/tex/generic
diff options
context:
space:
mode:
authorContext Git Mirror Bot <phg42.2a@gmail.com>2014-12-11 13:15:03 +0100
committerContext Git Mirror Bot <phg42.2a@gmail.com>2014-12-11 13:15:03 +0100
commit36be5943fa71b0543ccea4a771c4cea9361cfcc2 (patch)
tree22547577c3d08e85dac07d6ed35d8e1f398b4418 /tex/generic
parent561708843a2c7fd2d69186fe22fdec99908a64d9 (diff)
downloadcontext-36be5943fa71b0543ccea4a771c4cea9361cfcc2.tar.gz
2014-12-11 12:04:00
Diffstat (limited to 'tex/generic')
-rw-r--r--tex/generic/context/luatex/luatex-fonts-merged.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/tex/generic/context/luatex/luatex-fonts-merged.lua b/tex/generic/context/luatex/luatex-fonts-merged.lua
index 6d0e5218f..f11a74ca5 100644
--- a/tex/generic/context/luatex/luatex-fonts-merged.lua
+++ b/tex/generic/context/luatex/luatex-fonts-merged.lua
@@ -1,6 +1,6 @@
-- merged file : luatex-fonts-merged.lua
-- parent file : luatex-fonts.lua
--- merge date : 12/10/14 22:40:17
+-- merge date : 12/11/14 12:02:53
do -- begin closure to overcome local limits and interference
@@ -2831,9 +2831,10 @@ local striplinepatterns={
["retain and no empty"]=p_retain_noempty,
["collapse"]=patterns.collapser,
}
+setmetatable(striplinepatterns,{ __index=function(t,k) return p_prune_collapse end })
strings.striplinepatterns=striplinepatterns
function strings.striplines(str,how)
- return str and lpegmatch(how and striplinepatterns[how] or p_prune_collapse,str) or str
+ return str and lpegmatch(striplinepatterns[how],str) or str
end
strings.striplong=strings.striplines
function strings.nice(str)