Skip to content

Paragraph breaks don't render correctly for enum dartdocs #2268

@tvolkert

Description

@tvolkert

e.g. https://master-api.flutter.dev/flutter/rendering/CrossAxisAlignment-class.html

The source code is:

  /// Place the children along the cross axis such that their baselines match.
  ///
  /// Because baselines are always horizontal, this alignment is intended for
  /// horizontal main axes. If the main axis is vertical, then this value is
  /// treated like [start].
  ///
  /// For horizontal main axes, if the minimum height constraint passed to the
  /// flex layout exceeds the intrinsic height of the cross axis, children will
  /// be aligned as close to the top as they can be while honoring the baseline
  /// alignment. In other words, the extra space will be below all the children.
  ///
  /// Children who report no baseline will be top-aligned.

The resulting HTML looks like this:

Screen Shot 2020-07-15 at 1 27 10 PM

It should look like this:

Screen Shot 2020-07-15 at 1 27 10 PM

Metadata

Metadata

Assignees

Labels

P2A bug or feature request we're likely to work oncustomer-flutterIssues originating from important to Fluttertype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions