diff options
Diffstat (limited to 'ocamldoc/odoc_texi.ml')
| -rw-r--r-- | ocamldoc/odoc_texi.ml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ocamldoc/odoc_texi.ml b/ocamldoc/odoc_texi.ml index 067586b826..95354caac8 100644 --- a/ocamldoc/odoc_texi.ml +++ b/ocamldoc/odoc_texi.ml @@ -676,8 +676,8 @@ class texi = (match constr.vc_text with | None -> [ Newline ] | Some t -> - (Raw (indent 5 "\n(* ") :: - self#soft_fix_linebreaks 8 t) @ + (Raw (indent 5 "\n(*\n ") :: + self#soft_fix_linebreaks 8 (self#text_of_info (Some t))) @ [ Raw " *)" ; Newline ] ) ) l ) ) | Type_record l -> @@ -693,7 +693,8 @@ class texi = (match r.rf_text with | None -> [ Newline ] | Some t -> - ((Raw (indent 5 "\n(* ")) :: (self#soft_fix_linebreaks 8 t)) @ + ((Raw (indent 5 "\n(*\n ")) :: + (self#soft_fix_linebreaks 8 (self#text_of_info (Some t)))) @ [ Raw " *)" ; Newline ] ) ) l ) ) @ [ Raw " }" ] |
