Merge pull request 'diff view: translate \n to <br>' (!8) from fix into main

Reviewed-on: #8
Reviewed-by: Reynir Björnsson <reynir@reynir.dk>
This commit is contained in:
Reynir Björnsson 2025-01-08 16:00:54 +00:00
commit 858f01234f

View file

@ -829,7 +829,8 @@ let opam_diffs diffs =
List.concat_map (fun pd -> List.concat_map (fun pd ->
H.h4 [ txtf "%a" Opamdiff.pp_opam_diff pd ] :: H.h4 [ txtf "%a" Opamdiff.pp_opam_diff pd ] ::
H.h5 [ H.txt "diff" ] :: H.h5 [ H.txt "diff" ] ::
H.code [ H.txt pd.diff ; H.br () ] :: []) H.pre [ H.code [ H.txt pd.diff ] ] ::
H.br () :: [])
diffs diffs
let compare_builds let compare_builds