[Mono-docs-list] C# Language Specification - examples rendering problem

Filip Dudek s.pascon at gmail.com
Sun Jul 27 16:58:40 EDT 2008


Hello,
I found a bug at http://www.go-mono.com/docs/ in rendering "C#
Language Specification" examples (i.e.
http://www.go-mono.com/docs/index.aspx?link=ecmaspec%3a12.1,
http://www.go-mono.com/docs/index.aspx?link=ecmaspec%3a14.13.1).

Looking at page source code there is

<div class="code_example">
<div class="code_ex_title">Code example</div>
<span class="code">
<br />
....
</span>
</div>

and this "span" element causes the problem. If I change it to "div"
(end for 'good looking' removing first "br" element after "span")
everything looks all right.

Hope that helps.

--
Cheers!
Filip Dudek


More information about the Mono-docs-list mailing list