Skip to content

Bug: Spaces added to preformatted code style docstring elements #1732

@jberdine

Description

@jberdine

Describe the bug
Formatting code such as:

type sp =
  | Cut  (** {[@,]} *)

adds spaces within the preformatted code element, producing

type sp =
  | Cut  (** {[ @, ]} *)

How to Reproduce
Change the Cut docstring in Fmt.mli as above and make test.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions