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;