| Index: pkg/dartdoc/lib/src/markdown/inline_parser.dart
|
| diff --git a/pkg/dartdoc/lib/src/markdown/inline_parser.dart b/pkg/dartdoc/lib/src/markdown/inline_parser.dart
|
| index 348902eb1c6c92c92d0860ef53f9e3afdf733aa2..a9588888c93489543e8f4171f5776720ee0875fa 100644
|
| --- a/pkg/dartdoc/lib/src/markdown/inline_parser.dart
|
| +++ b/pkg/dartdoc/lib/src/markdown/inline_parser.dart
|
| @@ -156,7 +156,7 @@ class InlineSyntax {
|
|
|
| bool tryMatch(InlineParser parser) {
|
| final startMatch = pattern.firstMatch(parser.currentSource);
|
| - if ((startMatch != null) && (startMatch.start() == 0)) {
|
| + if ((startMatch != null) && (startMatch.start == 0)) {
|
| // Write any existing plain text up to this point.
|
| parser.writeText();
|
|
|
| @@ -354,7 +354,7 @@ class TagState {
|
| /// pattern.
|
| bool tryMatch(InlineParser parser) {
|
| Match endMatch = syntax.endPattern.firstMatch(parser.currentSource);
|
| - if ((endMatch != null) && (endMatch.start() == 0)) {
|
| + if ((endMatch != null) && (endMatch.start == 0)) {
|
| // Close the tag.
|
| close(parser, endMatch);
|
| return true;
|
|
|