Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/stevedonovan/Penlight.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorThijs Schreijer <thijs@thijsschreijer.nl>2021-12-18 00:53:58 +0300
committerGitHub <noreply@github.com>2021-12-18 00:53:58 +0300
commit4963abf27dd7fbdd326f17110512b010b6173c0d (patch)
tree166c28cd163c27be0b4514660e632193b86e7c42 /lua
parent0653cdb05591454a9804a7fee8c873b8f06b0b8f (diff)
fix(xml) xml.maptags hangs on text nodes (#396)
Diffstat (limited to 'lua')
-rw-r--r--lua/pl/xml.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/lua/pl/xml.lua b/lua/pl/xml.lua
index 4650a32..58d2959 100644
--- a/lua/pl/xml.lua
+++ b/lua/pl/xml.lua
@@ -341,6 +341,8 @@ function Doc:maptags(callback)
self[i] = ret;
i = i + 1;
end
+ else
+ i = i + 1
end
end
return self;