Skip to content

Commit

Permalink
add a blank
Browse files Browse the repository at this point in the history
  • Loading branch information
coco33920 committed Mar 20, 2022
1 parent 133cbd8 commit b069bf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/parser.ml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ let parse_to_html ?(min_chap=1) ast=
(match l with
| [] -> ""
| Line s::_ ->
let name,_ = recognize_gls s in Printf.sprintf "<a href=\"#%s\">%s</a>" s name
let name,_ = recognize_gls s in Printf.sprintf "<a href=\"#%s\">%s</a> " s name
| _::_ -> "")
| "textit" -> (Printf.sprintf "<i>%s</i>" str)
| "textbf" -> (Printf.sprintf "<b>%s</b>" str)
Expand Down

0 comments on commit b069bf6

Please sign in to comment.