[Issue 4394] New: std.xml prints empty elements as non-empty
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Jun 26 06:32:30 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4394
Summary: std.xml prints empty elements as non-empty
Product: D
Version: D2
Platform: Other
OS/Version: Mac OS X
Status: NEW
Keywords: patch
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: nobody at puremagic.com
ReportedBy: doob at me.com
--- Comment #0 from Jacob Carlborg <doob at me.com> 2010-06-26 06:32:26 PDT ---
Created an attachment (id=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.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list