[erlang-bugs] edoc doesn't process Wiki style headings when using CR+LF line endings in overview.edoc
Björn Bylander
bjorn.bylander@REDACTED
Thu Sep 6 13:57:33 CEST 2012
Hi,
I've come to the conclusion that EDoc doesn't correctly process Wiki style headings when using CR+LF line endings in the overview file (overview.edoc).
Operating System: Microsoft Windows 7 64-bit.
Erlang/OTP release: both R15B01 and R15B02. Haven't tried on earlier releases.
Invoking EDoc with the code below in an overview.edoc using CR+LF as line endings results in the Contents heading being rendered as "<p>== Contents ==</p>" while, using only LF as line ending, it's rendered as "<h3><a name="Contents">Contents</a></h3>".
Also, if the "blah blah" is removed and CR+LF is used, nothing is rendered apart from the standard header and footer.
Example overview.edoc contents:
@doc blah blah
== Contents ==
<ol>
<li>{@section Introduction}</li>
<li>{@section Outroduction}</li>
</ol>
== Introduction ==
This is a nice introduction...
== Introduction ==
and here's the outroduction.
@end
Best regards,
Björn Bylander
More information about the erlang-bugs
mailing list