https://issues.dlang.org/show_bug.cgi?id=15474
Issue ID: 15474 Summary: Ddoc - defining an empty macro at the end of a Macros section does not work Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: enhancement Priority: P1 Component: dmd Assignee: nob...@puremagic.com Reporter: destructiona...@gmail.com /** Test test2 test3 Macros: DDOC=$(BODY) DDOC_BLANKLINE= */ module t2; Generates: <!-- Generated by Ddoc from t2.d --> Test <br><br> test2 <br><br> test3 <br><br> Those blank lines are still there. Swap the order of definition of those two macros: /** Test test2 test3 Macros: DDOC_BLANKLINE= DDOC=$(BODY) */ module t2; Hey, look, blank line = nothing respected now! <!-- Generated by Ddoc from t2.d --> Test <br><br> test2 test3 <br><br> Notice that there isn't one between test2 and test3 anymore. --