Skip to content

Scaladoc doesn't preserve blank line in code example block #24847

@som-snytt

Description

@som-snytt

Compiler version

3.8

In 2.13 at https://www.scala-lang.org/api/2.13.16/scala/Predef$.html#locally[T](x:T):T

Image

In 3.8 at https://dotty.epfl.ch/api/scala/Predef$.html#locally-957

Image

Expectation

Preserve the blank lines as commented in the example text.

I was visiting the Scaladoc to see how locally is described. I wasn't looking for trouble.

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