[erlang-bugs] Wrong transform of eunit docs from edoc to html
Lars Thorsen
lars@REDACTED
Tue Aug 17 10:22:03 CEST 2010
Tuncer Ayaz wrote:
> Part of lib/eunit/doc/overview.edoc happens to be transformed into
> mis-formatted html. Is this a problem in the edoc source or the
> transformation process?
>
> Is this a problem in xsltproc, edoc, or the edoc sources?
>
> The following source from lib/eunit/doc/overview.edoc
>
> --->8---
> To make the descriptions simpler, we first list some definitions:
> <center>
> <table border="0" cellspacing="4">
> <tr>
> <td>`Setup'</td><td>`() -> (R::any())'</td>
> </tr>
> <tr>
> <td>`SetupX'</td><td>`(X::any()) -> (R::any())'</td>
> </tr>
> <tr>
> <td>`Cleanup'</td><td>`(R::any()) -> any()'</td>
> </tr>
> <tr>
> <td>`CleanupX'</td><td>`(X::any(), R::any()) -> any()'</td>
> </tr>
> <tr>
> <td>`Instantiator'</td><td>`((R::any()) -> Tests) | {with,
> [AbstractTestFun::((any()) -> any())]}'</td>
> </tr>
> <tr>
> <td>`Where'</td><td>`local | spawn | {spawn, Node::atom()}'</td>
> </tr>
> </table>
> </center>
> (these are explained in more detail further below.)
> --->8---
>
Thanks for reporting this.
The center tag was wrongly matched in two different clauses in
the special edoc backend which generates xml from the edoc format.
This will be fixed in R14B.
------------
Lars Thorsen, Erlang/OTP, Ericsson AB
More information about the erlang-bugs
mailing list