File tree 2 files changed +9
-8
lines changed
test/integration/markdown.t
2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -107,8 +107,13 @@ let rec block (l : Block.t) args =
107
107
in
108
108
let f i =
109
109
let key = inline i.Description. key args in
110
- let def = block i.Description. definition args in
111
- blocks (paragraph (join (text " @" ) key ++ text " : " )) def
110
+ let def =
111
+ match i.Description. definition with
112
+ | [] -> text " "
113
+ | h :: _ -> (
114
+ match h.desc with Inline i -> inline i args | _ -> text " " )
115
+ in
116
+ paragraph (join (text " @" ) (join key (text " :" )) ++ def)
112
117
in
113
118
blocks (blocks' (List. map f descrs)) (continue rest)
114
119
| Source content ->
Original file line number Diff line number Diff line change 134
134
135
135
David Sheets is the author.
136
136
137
- @ author :
138
-
139
- David Sheets
137
+ @ author : David Sheets
140
138
141
139
# ##### module Foo : sig ... end
142
140
340
338
341
339
David Sheets is the author.
342
340
343
- @ author :
344
-
345
- David Sheets
341
+ @ author : David Sheets
346
342
347
343
<a id="module-Foo" ></a >
348
344
You can’t perform that action at this time.
0 commit comments