diff --git a/src/voodoo-gen/markdown.ml b/src/voodoo-gen/markdown.ml index e6b040fe..57aeaa2a 100644 --- a/src/voodoo-gen/markdown.ml +++ b/src/voodoo-gen/markdown.ml @@ -15,7 +15,7 @@ let rec inline : 'attr inline -> Odoc_document.Types.Inline.t = function | Code (_, c) -> [ { desc = Source [ Elt [ { desc = Text c; attr = [] } ] ]; attr = [] } ] | Hard_break _ -> [ { desc = Linebreak; attr = [] } ] - | Soft_break _ -> [ { desc = Linebreak; attr = [] } ] + | Soft_break _ -> [ { desc = Text " "; attr = [] } ] | Link (_, l) -> [ { desc = Link (l.destination, inline l.label); attr = [] } ] | Image _ -> []