diff --git a/hearthstone/cardxml.py b/hearthstone/cardxml.py
index <HASH>..<HASH> 100644
--- a/hearthstone/cardxml.py
+++ b/hearthstone/cardxml.py
@@ -151,10 +151,9 @@ class CardXML(object):
 		for tag in STRING_TAGS:
 			value = self.strings[tag]
 			if value:
-				ElementTree.SubElement(
-					ret, "Tag", enumID=str(int(tag)), name=tag.name,
-					type="String", value=str(value)
-				)
+				e = ElementTree.SubElement(ret, "Tag", enumID=str(int(tag)), name=tag.name)
+				e.attrib["type"] = "String"
+				e.text = value
 
 		for tag, value in sorted(self.tags.items()):
 			e = ElementTree.SubElement(ret, "Tag", enumID=str(int(tag)))
cardxml: Write string tag contents as text rather than attribute