We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c861d9b commit cfdb926Copy full SHA for cfdb926
src/markdown/generator.ml
@@ -34,14 +34,11 @@ let rec source_code (s : Source.t) args =
34
| [] -> noop
35
| h :: t -> (
36
let continue s =
37
- if s = [] then noop
38
- else if source_contains_text s then source_code s args
39
- else noop
+ if source_contains_text s then source_code s args else noop
40
in
41
match h with
42
| Source.Elt i -> inline i args ++ continue t
43
- | Tag (_, s) -> continue s ++ continue t
44
- (* | Tag (Some _, s) -> continue s ++ continue t *))
+ | Tag (_, s) -> continue s ++ continue t)
45
46
and inline (l : Inline.t) args =
47
match l with
0 commit comments