From 17bb2991ade699db5ae6ec4d9c238691d3e883c1 Mon Sep 17 00:00:00 2001 From: Element Green Date: Sat, 18 Jan 2025 13:07:56 -0600 Subject: [PATCH] Remove space from empty element name and slash (i.e., ) --- source/kxml/xml.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/kxml/xml.d b/source/kxml/xml.d index 94855d2..9839adf 100755 --- a/source/kxml/xml.d +++ b/source/kxml/xml.d @@ -364,7 +364,7 @@ class XmlNode auto s = "<" ~ _name ~ genAttrString(); if (_children.length == 0) - s ~= " /"; // We want if the node has no children. + s ~= "/"; // We want if the node has no children. s ~= ">"; return s;