| Index: third_party/pkg/markdown/lib/src/inline_parser.dart
|
| diff --git a/third_party/pkg/markdown/lib/src/inline_parser.dart b/third_party/pkg/markdown/lib/src/inline_parser.dart
|
| index 6772c8416d95a16ca556b12ea2fc271223f56c4e..b46f5f956da1e4584c6894655e9d4e4399da5887 100644
|
| --- a/third_party/pkg/markdown/lib/src/inline_parser.dart
|
| +++ b/third_party/pkg/markdown/lib/src/inline_parser.dart
|
| @@ -274,7 +274,7 @@ class LinkSyntax extends TagSyntax {
|
| LinkSyntax({this.linkResolver, String pattern: r'\['})
|
| : super(pattern, end: linkPattern);
|
|
|
| - Node createNode(InlineParser parser, Match match, TagState state) {
|
| + Element createNode(InlineParser parser, Match match, TagState state) {
|
| // If we didn't match refLink or inlineLink, then it means there was
|
| // nothing after the first square bracket, so it isn't a normal markdown
|
| // link at all. Instead, we allow users of the library to specify a special
|
| @@ -334,7 +334,7 @@ class LinkSyntax extends TagSyntax {
|
| }
|
|
|
| bool onMatchEnd(InlineParser parser, Match match, TagState state) {
|
| - Node node = createNode(parser, match, state);
|
| + Element node = createNode(parser, match, state);
|
| if (node == null) return false;
|
| parser.addNode(node);
|
| return true;
|
| @@ -348,8 +348,8 @@ class ImageLinkSyntax extends LinkSyntax {
|
| ImageLinkSyntax({this.linkResolver})
|
| : super(pattern: r'!\[');
|
|
|
| - Node createNode(InlineParser parser, Match match, TagState state) {
|
| - Node node = super.createNode(parser, match, state);
|
| + Element createNode(InlineParser parser, Match match, TagState state) {
|
| + Element node = super.createNode(parser, match, state);
|
| if (node == null) return null;
|
|
|
| final Element imageElement = new Element.withTag("img")
|
|
|