From acafe39698545af727262f0dc002cf5058c064c8 Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Wed, 28 Aug 2024 16:36:15 -0500 Subject: [PATCH] Fix doc comments --- lib/parser.dart | 6 +++--- lib/src/html_input_stream.dart | 2 +- lib/src/list_proxy.dart | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/parser.dart b/lib/parser.dart index 7498598..83bba67 100644 --- a/lib/parser.dart +++ b/lib/parser.dart @@ -27,7 +27,7 @@ import 'src/treebuilder.dart'; import 'src/utils.dart'; /// Parse the [input] html5 document into a tree. The [input] can be -/// a [String], [List] of bytes or an [HtmlTokenizer]. +/// a [String], [List]`` of bytes or an [HtmlTokenizer]. /// /// If [input] is not a [HtmlTokenizer], you can optionally specify the file's /// [encoding], which must be a string. If specified that encoding will be @@ -45,7 +45,7 @@ Document parse(dynamic input, } /// Parse the [input] html5 document fragment into a tree. The [input] can be -/// a [String], [List] of bytes or an [HtmlTokenizer]. The [container] +/// a [String], [List]`` of bytes or an [HtmlTokenizer]. The [container] /// element can optionally be specified, otherwise it defaults to "div". /// /// If [input] is not a [HtmlTokenizer], you can optionally specify the file's @@ -127,7 +127,7 @@ class HtmlParser { late final _afterAfterFramesetPhase = AfterAfterFramesetPhase(this); /// Create an HtmlParser and configure the [tree] builder and [strict] mode. - /// The [input] can be a [String], [List] of bytes or an [HtmlTokenizer]. + /// The [input] can be a [String], [List]`` of bytes or an [HtmlTokenizer]. /// /// If [input] is not a [HtmlTokenizer], you can specify a few more arguments. /// diff --git a/lib/src/html_input_stream.dart b/lib/src/html_input_stream.dart index abae4cf..15f556b 100644 --- a/lib/src/html_input_stream.dart +++ b/lib/src/html_input_stream.dart @@ -48,7 +48,7 @@ class HtmlInputStream { /// HtmlInputStream(source, [encoding]) -> Normalized stream from source /// for use by html5lib. /// - /// [source] can be either a [String] or a [List] containing the raw + /// [source] can be either a [String] or a [List]`` containing the raw /// bytes. /// /// The optional encoding parameter must be a string that indicates diff --git a/lib/src/list_proxy.dart b/lib/src/list_proxy.dart index 9ed8783..0482d58 100644 --- a/lib/src/list_proxy.dart +++ b/lib/src/list_proxy.dart @@ -4,7 +4,7 @@ library; import 'dart:collection'; abstract class ListProxy extends ListBase { - /// The inner [List] with the actual storage. + /// The inner [List]`` with the actual storage. final List _list = []; @override