<div>My biggest annoyance with ddoc generated files is that when pasting code samples (eg: The Example sample from <a href="http://dlang.org/phobos/std_algorithm.html">http://dlang.org/phobos/std_algorithm.html</a>), newline characters disappear, resulting in one giant line. </div>
<div><br></div><div>For example this is part of the html for the generated example box:</div><div><br></div><div><div>sort!(greater)(a); <span class="d_comment">// predicate as alias</div><div></span>sort!(<span class="d_string">"a > b"</span>)(a); <span class="d_comment">// predicate as string</div>
</div><div><br></div><div>Any plan in adding a <BR> at the end of each line in ddoc generation or something similar, so that pasting will preserve newlines?</div>