We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38dc061 commit c861d9bCopy full SHA for c861d9b
src/markdown/generator.ml
@@ -18,7 +18,7 @@ type args = { generate_links : bool }
18
let rec source_contains_text (s : Source.t) =
19
let inline_contains_text (i : Inline.t) =
20
let check_inline_desc (i : Inline.desc) =
21
- match i with Text "" -> false | Text _ -> true | _ -> true
+ match i with Text "" -> false | Text _ | _ -> true
22
in
23
List.exists (fun { Inline.desc = d; _ } -> check_inline_desc d) i
24
0 commit comments