summaryrefslogtreecommitdiff
path: root/luaotfload-override.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-04-29 23:12:38 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-04-29 23:12:38 +0200
commitebdd60e14123b44f2e4f74b108ff34fadf480467 (patch)
treec9528e5979e5077e86c71ca31caab77c1f53ca82 /luaotfload-override.lua
parent1d871e6152c1acfa01db6fd90ee809274b9f8751 (diff)
parent572c0e2de196d2d9551cd205b7f0c69800fb7516 (diff)
downloadluaotfload-ebdd60e14123b44f2e4f74b108ff34fadf480467.tar.gz
merge from phi-gamma/master
Diffstat (limited to 'luaotfload-override.lua')
-rw-r--r--luaotfload-override.lua10
1 files changed, 6 insertions, 4 deletions
diff --git a/luaotfload-override.lua b/luaotfload-override.lua
index 7ee9730..2b9ef8b 100644
--- a/luaotfload-override.lua
+++ b/luaotfload-override.lua
@@ -81,10 +81,12 @@ logs.names_report = function (mode, lvl, ...)
end
end
---- This will vanish as soon as Hans fixes it in data-con
---- https://github.com/lualatex/luaotfload/issues/17
+if containers then
+ --- This will vanish as soon as Hans fixes it in data-con
+ --- https://github.com/lualatex/luaotfload/issues/17
-containers.cleanname = function (name)
- return (string.gsub(string.lower(name),"[^%w%d\128\255]+","-"))
+ containers.cleanname = function (name)
+ return (string.gsub(string.lower(name),"[^%w%d\128\255]+","-"))
+ end
end
-- vim:tw=71:sw=4:ts=4:expandtab