From 236ee61d201e45b1fe33a58b290adb7ee32d3488 Mon Sep 17 00:00:00 2001 From: xuri Date: Sat, 15 Jan 2022 00:06:34 +0800 Subject: This closes #1119, style parsing issue fixed --- lib.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib.go') diff --git a/lib.go b/lib.go index c125da6..caaeab2 100644 --- a/lib.go +++ b/lib.go @@ -473,6 +473,8 @@ func (avb *attrValBool) UnmarshalXML(d *xml.Decoder, start xml.StartElement) err return nil } } + defaultVal := true + avb.Val = &defaultVal return nil } -- cgit v1.2.1