ocamlformat icon indicating copy to clipboard operation
ocamlformat copied to clipboard

Bug: Doc comments with list and code blocks render wrong

Open Julow opened this issue 1 year ago • 0 comments

With --parse-docstrings, this:

(** foo bar baz
    - foo bar baz
    {[
      code
    ]} *)

renders to

(** foo bar baz
    {ul
     {- foo
        bar
        baz
        {[
          code
        ]}
     }
    } *)

Tested on 0.26.1, 0.26.2 and main

Julow avatar Sep 24 '24 12:09 Julow