Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005725OCamlOCamldocpublic2012-08-14 16:462012-08-27 13:44
Reporterdbuenzli 
Assigned Toguesdon 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version4.00.0 
Target Version4.00.1+devFixed in Version 
Summary0005725: ocamldoc output of preformatted code
DescriptionIt seems that the output of ocamldoc preformatted code changed it used to be that both

Bla bla bla:
{[The code|}
Bla bla bla:
{[
The code
|}
Bla bla bla

Would put "The code" on a single line but that's no longer the case we now have to write

Bla bla bla :

{|The code|}

Bla bla bla:

{[
The code
|}

Before I have to go in all my interface to introduce the appropriate space. Is that really expected behaviour ?

Thanks,

Daniel

Steps To ReproduceCould not reproduce. I have the code in a separate line without needing a blank line. Maybe a problem with your css file ?
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0007947)
dbuenzli (reporter)
2012-08-16 14:24

No it's not my css, I checked with the default style sheet. It seems the problem happens only with -colorize-code. Here are the steps to reproduce :

$ cat a.mli

(** {1 Section}

    Everything
    {[is on the same]}
    line.
*)

$ ocamldoc -html -colorize-code a.mli

Best,

Daniel
(0007986)
guesdon (manager)
2012-08-27 13:43

Indeed. This is not the expected behaviour. Fixed in branch 4.00 (revision 12884) and trunk (revision 12885).

- Issue History
Date Modified Username Field Change
2012-08-14 16:46 dbuenzli New Issue
2012-08-14 16:46 dbuenzli Status new => assigned
2012-08-14 16:46 dbuenzli Assigned To => guesdon
2012-08-16 12:01 guesdon Reproducibility always => unable to reproduce
2012-08-16 12:01 guesdon Steps to Reproduce Updated View Revisions
2012-08-16 14:24 dbuenzli Note Added: 0007947
2012-08-27 13:43 guesdon Note Added: 0007986
2012-08-27 13:44 guesdon Reproducibility unable to reproduce => always
2012-08-27 13:44 guesdon Status assigned => closed
2012-08-27 13:44 guesdon Resolution open => fixed
2012-08-27 13:44 guesdon Target Version => 4.00.1+dev


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker