Skip to content

Commit 06799e0

Browse files
committed
Small xml fix
1 parent fecde98 commit 06799e0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/plugins/xml.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ local function findExpressions(text)
9595
end
9696

9797
local function convertValue(value, scope)
98+
if type(value) ~= "string" then
99+
return value
100+
end
98101
if value:sub(1,1) == "\"" and value:sub(-1) == "\"" then
99102
value = value:sub(2, -2)
100103
end

0 commit comments

Comments
 (0)