fix latest pedantic lints
diff --git a/lib/src/ast.dart b/lib/src/ast.dart
index 5dcb848..9765b24 100644
--- a/lib/src/ast.dart
+++ b/lib/src/ast.dart
@@ -44,7 +44,9 @@
   void accept(NodeVisitor visitor) {
     if (visitor.visitElementBefore(this)) {
       if (children != null) {
-        for (var child in children) child.accept(visitor);
+        for (var child in children) {
+          child.accept(visitor);
+        }
       }
       visitor.visitElementAfter(this);
     }
diff --git a/lib/src/html_renderer.dart b/lib/src/html_renderer.dart
index 4dfaa80..14dc958 100644
--- a/lib/src/html_renderer.dart
+++ b/lib/src/html_renderer.dart
@@ -67,7 +67,9 @@
     buffer = StringBuffer();
     uniqueIds = LinkedHashSet<String>();
 
-    for (final node in nodes) node.accept(this);
+    for (final node in nodes) {
+      node.accept(this);
+    }
 
     return buffer.toString();
   }
diff --git a/lib/src/inline_parser.dart b/lib/src/inline_parser.dart
index 5e7e918..a1fede5 100644
--- a/lib/src/inline_parser.dart
+++ b/lib/src/inline_parser.dart
@@ -103,8 +103,9 @@
       // See if any of the current tags on the stack match.  This takes
       // priority over other possible matches.
       if (_stack.reversed
-          .any((state) => state.syntax != null && state.tryMatch(this)))
+          .any((state) => state.syntax != null && state.tryMatch(this))) {
         continue;
+      }
 
       // See if the current text matches any defined markdown syntax.
       if (syntaxes.any((syntax) => syntax.tryMatch(this))) continue;
@@ -644,9 +645,9 @@
       parser.advanceBy(1);
       var leftParenIndex = parser.pos;
       var inlineLink = _parseInlineLink(parser);
-      if (inlineLink != null)
+      if (inlineLink != null) {
         return _tryAddInlineLink(parser, state, inlineLink);
-
+      }
       // Reset the parser position.
       parser.pos = leftParenIndex;