From 30623fdfe00d3ec1ac942363fe529efc6ba9de46 Mon Sep 17 00:00:00 2001 From: Jason Streifling Date: Thu, 17 Oct 2024 19:14:37 +0200 Subject: [PATCH] More ",chardata" --- icon.go | 2 +- logo.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/icon.go b/icon.go index 2be01e6..f9cc383 100644 --- a/icon.go +++ b/icon.go @@ -7,7 +7,7 @@ import ( type Icon struct { *CommonAttributes - URI IRI `xml:"uri"` + URI IRI `xml:",chardata"` } // NewIcon creates a new Icon. It returns a *Icon. diff --git a/logo.go b/logo.go index 94463e1..578f436 100644 --- a/logo.go +++ b/logo.go @@ -9,7 +9,7 @@ import ( type Logo struct { *CommonAttributes - URI IRI `xml:"uri"` + URI IRI `xml:",chardata"` } // NewLogo creates a new Logo. It returns a *Logo.