From 8bf6efc72ec5e1cdbd5c6f0c3a433462eb0e7c55 Mon Sep 17 00:00:00 2001 From: Igor Timofeev Date: Thu, 13 Aug 2015 07:14:11 +0300 Subject: [PATCH] Update xmlParser.lua --- lib/xmlParser.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/xmlParser.lua b/lib/xmlParser.lua index a2adb6a5..a7527eaa 100644 --- a/lib/xmlParser.lua +++ b/lib/xmlParser.lua @@ -25,9 +25,9 @@ function xml.collect(s) table.insert(top, text) end if empty == "/" then -- empty element tag - table.insert(top, {label=label, xarg=parseargs(xarg), empty=1}) + table.insert(top, {label=label, xarg=xml.parseargs(xarg), empty=1}) elseif c == "" then -- start tag - top = {label=label, xarg=parseargs(xarg)} + top = {label=label, xarg=xml.parseargs(xarg)} table.insert(stack, top) -- new level else -- end tag local toclose = table.remove(stack) -- remove top