diff options
author | Thijs Schreijer <thijs@thijsschreijer.nl> | 2021-12-18 00:53:58 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-18 00:53:58 +0300 |
commit | 4963abf27dd7fbdd326f17110512b010b6173c0d (patch) | |
tree | 166c28cd163c27be0b4514660e632193b86e7c42 /lua | |
parent | 0653cdb05591454a9804a7fee8c873b8f06b0b8f (diff) |
fix(xml) xml.maptags hangs on text nodes (#396)
Diffstat (limited to 'lua')
-rw-r--r-- | lua/pl/xml.lua | 2 |
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; |