http://d.puremagic.com/issues/show_bug.cgi?id=9155
Summary: Ddoc: code section should strip leading spaces Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: ddoc Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: k.hara...@gmail.com --- Comment #0 from Kenji Hara <k.hara...@gmail.com> 2012-12-13 23:52:28 PST --- In current, ddoc does not strip leading spaces in code section. This code: =============== /** * Example: * --- * import std.stdio; * writeln("Hello world!"); * if (test) { * writefln("D programming language"); * } * --- */ void foo(){} =============== Outputs: =============== void foo(); Example: import std.stdio; writeln("Hello world!"); if (test) { writefln("D programming language"); } =============== Should be: =============== void foo(); Example: import std.stdio; writeln("Hello world!"); if (test) { writefln("D programming language"); } =============== -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------