← Back to index
|
Original Bugzilla link
Bug 9155 – Ddoc: code section should strip leading spaces
Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-12-13T23:52:00Z
Last change time
2013-03-04T19:56:29Z
Keywords
ddoc, pull
Assigned to
nobody
Creator
k.hara.pg
Comments
Comment #0
by k.hara.pg — 2012-12-13T23:52:28Z
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"); } ===============
Comment #1
by k.hara.pg — 2012-12-14T00:03:33Z
https://github.com/D-Programming-Language/dmd/pull/1377
Comment #2
by github-bugzilla — 2013-03-04T19:30:24Z
Commits pushed to master at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/c47ef9ed4cc5c7f50df878643f22fc1601040b0c
fix Issue 9155 - Ddoc: code section should strip leading spaces
https://github.com/D-Programming-Language/dmd/commit/0c2d8a9f7f82c122174d595ccfb5847bbf162aaf
Merge pull request #1377 from 9rnsr/fix9155 Issue 9155 - Ddoc: code section should strip leading spaces