Skip to content

Commit 6b6b186

Browse files
committed
fix spelling errors
1 parent bd86c61 commit 6b6b186

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

lib/src/enough_mail_html_base.dart

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,14 +92,14 @@ class TransformConfiguration {
9292
/// The list of DOM transformers being used
9393
final List<DomTransformer> domTransformers;
9494

95-
/// The list of text transfomers that are used
95+
/// The list of text transformers that are used
9696
/// before a plain text message without HTML part is converted into HTML
9797
final List<TextTransformer> textTransformers;
9898

9999
/// Optional custom values, `null` unless specified.
100100
final Map<String, dynamic>? customValues;
101101

102-
/// Provides easy access to a standard configuation
102+
/// Provides easy access to a standard configuration
103103
/// that does not block external images.
104104
static const TransformConfiguration standardConfiguration =
105105
TransformConfiguration(
@@ -154,7 +154,7 @@ abstract class DomTransformer {
154154

155155
/// Transforms the [document] of the [message] using [configuration].
156156
///
157-
/// All changes will be visible to subsequenc transformers.
157+
/// All changes will be visible to subsequent transformers.
158158
void process(Document document, MimeMessage message,
159159
TransformConfiguration configuration);
160160

@@ -237,7 +237,7 @@ class MimeMessageTransformer {
237237

238238
/// Transforms plain text messages.
239239
abstract class TextTransformer {
240-
/// Createsa new text transformer
240+
/// Creates a new text transformer
241241
const TextTransformer();
242242

243243
/// Transforms the given [text] of the [message] using the [configuration ]
@@ -323,7 +323,7 @@ extension HtmlTransform on MimeMessage {
323323
return document.outerHtml;
324324
}
325325

326-
/// Transforms this message to the innter BODY HTML code.
326+
/// Transforms this message to the inner BODY HTML code.
327327
///
328328
/// Set [blockExternalImages] to `true` in case external images should
329329
/// be blocked.

test/enough_mail_html_test.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ void main() {
77
setUp(() {});
88

99
test('Parse and adapt documents', () {
10-
const html = '''
10+
const html =
11+
'''
1112
<html>
1213
<body>
1314
<p>hello world</p>

0 commit comments

Comments
 (0)