Skip to content

Commit 4150336

Browse files
committed
fix deprecation warning
1 parent 183fd73 commit 4150336

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mrkdwn.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ let rec mrkdwn_of_md md =
6868
(* [rc] stores all refs from document, so it's enough to record just the
6969
first encounter
7070
*)
71-
if Option.is_empty !references then references := Some rc;
71+
if Option.is_none !references then references := Some rc;
7272
(* [fallback#to_string] renders as
7373
[<text>][<name>] for Ref, e.g., [interesting fact][1]
7474
and

0 commit comments

Comments
 (0)