Skip to content

Commit

Permalink
fix: dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
maelchiotti authored Sep 4, 2024
1 parent 0472ce1 commit 2ed078e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/parchment/lib/src/codecs/markdown.dart
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ class _ParchmentMarkdownEncoder extends Converter<ParchmentDocument, String> {
}

void _writeUnderlineTag(StringBuffer buffer, {bool close = false}) {

Check warning on line 547 in packages/parchment/lib/src/codecs/markdown.dart

View check run for this annotation

Codecov / codecov/patch

packages/parchment/lib/src/codecs/markdown.dart#L547

Added line #L547 was not covered by tests
if (false) {
if (close) {
buffer.write('</u>');

Check warning on line 549 in packages/parchment/lib/src/codecs/markdown.dart

View check run for this annotation

Codecov / codecov/patch

packages/parchment/lib/src/codecs/markdown.dart#L549

Added line #L549 was not covered by tests
} else {
buffer.write('<u>');

Check warning on line 551 in packages/parchment/lib/src/codecs/markdown.dart

View check run for this annotation

Codecov / codecov/patch

packages/parchment/lib/src/codecs/markdown.dart#L551

Added line #L551 was not covered by tests
Expand Down

0 comments on commit 2ed078e

Please sign in to comment.