Skip to content

Commit c861d9b

Browse files
committed
draft
1 parent 38dc061 commit c861d9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/markdown/generator.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type args = { generate_links : bool }
1818
let rec source_contains_text (s : Source.t) =
1919
let inline_contains_text (i : Inline.t) =
2020
let check_inline_desc (i : Inline.desc) =
21-
match i with Text "" -> false | Text _ -> true | _ -> true
21+
match i with Text "" -> false | Text _ | _ -> true
2222
in
2323
List.exists (fun { Inline.desc = d; _ } -> check_inline_desc d) i
2424
in

0 commit comments

Comments
 (0)