From 387c2fbccc0bc1cd048c29a8297dc62ff5921647 Mon Sep 17 00:00:00 2001 From: csh Date: Tue, 14 Mar 2023 17:07:26 +0800 Subject: [PATCH] v1.2.3-patch2 --- funcext/TSOffice/TSUtils/NodeInfo.tsf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/funcext/TSOffice/TSUtils/NodeInfo.tsf b/funcext/TSOffice/TSUtils/NodeInfo.tsf index cf8c7ab..9f533f5 100644 --- a/funcext/TSOffice/TSUtils/NodeInfo.tsf +++ b/funcext/TSOffice/TSUtils/NodeInfo.tsf @@ -165,7 +165,10 @@ public lName := lowerCase(name); r := sselect * from attrs where lName = lowerCase([0]) end; if istable(r) then - return node.GetAttribute(r[1]); + begin + value := node.GetAttribute(r[1]); + return trystrtofloat(value, r) ? r : value; + end children := GetChildren(); r := select * from children where lName = lowerCase(['field']) end;