File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ module Block : sig
9
9
%% [Block.read bt ctx] converts block-text [bt] into a block-boxes using context [ctx].
10
10
val read : block-text -> context -> block-boxes
11
11
12
- %% [Block.of-inline ?:fill-tail may-break-before may-break-after ibf ctx] transforms
12
+ %% [Block.of-inline ?:( fill-tail = true) may-break-before may-break-after ibf ctx] transforms
13
13
%% the inline-boxes returned by [ibf ctx] into a block-boxes by inserting
14
14
%% line breaks at positions determined by context [ctx] and line break oppotunities
15
15
%% included in the given inline-boxes.
@@ -46,8 +46,8 @@ end = struct
46
46
let of-inline ?:fill-tail b1 b2 ibf ctx =
47
47
let tail =
48
48
match fill-tail with
49
- | Some(true ) -> Inline.fil
50
- | _ -> Inline.nil
49
+ | Some(false ) -> Inline.nil
50
+ | _ -> Inline.fil
51
51
in line-break b1 b2 ctx ((ibf ctx) ++ tail)
52
52
53
53
let skip = block-skip
You can’t perform that action at this time.
0 commit comments