summaryrefslogtreecommitdiff
path: root/otfl-font-xtx.lua
diff options
context:
space:
mode:
Diffstat (limited to 'otfl-font-xtx.lua')
-rw-r--r--otfl-font-xtx.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/otfl-font-xtx.lua b/otfl-font-xtx.lua
index b285d0b..502163c 100644
--- a/otfl-font-xtx.lua
+++ b/otfl-font-xtx.lua
@@ -74,6 +74,8 @@ local function isstyle(s)
elseif v:find("^s=") then
list.optsize = v:split("=")[2]
elseif v == "aat" or v == "icu" then
+ else
+ list.style = v:gsub("[^%a%d]", "")
end
end
end