Skip to content

The <> in generics in default arguments aren't escaped (invalid HTML generated) #1527

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
Hixie opened this issue Oct 27, 2017 · 0 comments · Fixed by #2288
Closed

The <> in generics in default arguments aren't escaped (invalid HTML generated) #1527

Hixie opened this issue Oct 27, 2017 · 0 comments · Fixed by #2288
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

@Hixie
Copy link
Contributor

Hixie commented Oct 27, 2017

For example, the MaterialApp docs have markup like this:

<span class="parameter" id="-param-routes">
  <span class="type-annotation">
    <a href="dart-core/Map-class.html">Map</a>&lt;<a href="dart-core/String-class.html">String</a>, <a href="widgets/WidgetBuilder.html">WidgetBuilder</a>&gt;
  </span>
  <span class="parameter-name">routes</span>:
  <span class="default-value">const <String, WidgetBuilder> {}</span>

Notice the last line has invalid HTML.

@Hixie Hixie added customer-flutter Issues originating from important to Flutter P2 A bug or feature request we're likely to work on labels Oct 27, 2017
@srawlins srawlins added the type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) label Aug 7, 2020
@srawlins srawlins self-assigned this 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.

2 participants