Created attachment 677
Fixes the problem
Element element = new Element("br");
writeln(element);
The above code produces "<br></br>" and not the expected "<br />". The attached
patch fixes the problem.
Comment #1 by lt.infiltrator — 2014-03-18T23:11:00Z
This looks correct as of v2.065.
--------------------------------------------
import std.stdio;
import std.xml;
void main() {
Element element = new Element("br");
writeln(element);
}
--------------------------------------------
Application output:
<br />