Skip to content

Unused references are rendered, which they probably shouldn't be #1336

Open
@isoos

Description

@isoos

reproduce markdown:

The [`Characters`][Characters] class exposes a string

Example:

```dart
{}
```

[ByteBuffer]: https://api.dart.dev/stable/2.0.0/dart-typed_data/ByteBuffer-class.html	"ByteBuffer class"
[Characters]: https://pub.dev/documentation/characters/latest/characters/Characters-class.html "Characters class"

dart run markdown --extension-set GitHubWeb renders an extra content at the end:

<p>[ByteBuffer]: <a href="https://api.dart.dev/stable/2.0.0/dart-typed_data/ByteBuffer-class.html">https://api.dart.dev/stable/2.0.0/dart-typed_data/ByteBuffer-class.html</a>  &quot;ByteBuffer class&quot;
[Characters]: <a href="https://pub.dev/documentation/characters/latest/characters/Characters-class.html">https://pub.dev/documentation/characters/latest/characters/Characters-class.html</a> &quot;Characters class&quot;</p>

Removing the unused ByteBuffer reference line fixes the rendering.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3A lower priority bug or feature requestpackage:markdowntype-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