Skip to content

Commit 90141f5

Browse files
committed
tweak the markup module
1 parent f9d9bd1 commit 90141f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/markdown/markup.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ let subscript i = Join (String "<sub>", Join (i, String "</sub>"))
5353
let superscript i = Join (String "<sup>", Join (i, String "</sup>"))
5454

5555
let code_span s =
56-
if String.contains s '`' then "``" ^ s ^ "``" else "`" ^ s ^ "`"
56+
if String.contains s '`' then "`` " ^ s ^ "``" else "`" ^ s ^ "`"
5757

5858
let link ~href i = Link (href, i)
5959

0 commit comments

Comments
 (0)