Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
tvolkert opened this issue Jul 15, 2020 · 1 comment · Fixed by #2286
Closed

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

tvolkert opened this issue Jul 15, 2020 · 1 comment · Fixed by #2286
Assignees
Labels
customer-flutter Issues originating from important to Flutter P2 A bug or feature request we're likely to work on type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)

Comments

@tvolkert
Copy link

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

@jdkoren
Copy link
Contributor

jdkoren commented Jul 17, 2020

Interesting, I wonder if that has to do with the doc content being inside of a <dd> tag

@srawlins srawlins self-assigned this Aug 7, 2020
@srawlins srawlins added type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) P2 A bug or feature request we're likely to work on customer-flutter Issues originating from important to Flutter labels Aug 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer-flutter Issues originating from important to Flutter P2 A bug or feature request we're likely to work on type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants