diff --git a/src/luaotfload-harf-plug.lua b/src/luaotfload-harf-plug.lua index b087c839..920cf83f 100644 --- a/src/luaotfload-harf-plug.lua +++ b/src/luaotfload-harf-plug.lua @@ -240,7 +240,6 @@ local function itemize(head, fontid, direction) local dir, cancel = getdirection(n) local direction, kind = getdirection(n) if cancel then - assert(currdir == dir) -- Pop the last direction from the stack. currdir = tableremove(dirstack) else