From 2ed078e61454c0417cc8f8a6e045c7520a169416 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Chiotti?= <44336112+maelchiotti@users.noreply.github.com> Date: Wed, 4 Sep 2024 12:01:17 +0200 Subject: [PATCH] fix: dead code --- packages/parchment/lib/src/codecs/markdown.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/parchment/lib/src/codecs/markdown.dart b/packages/parchment/lib/src/codecs/markdown.dart index ed621765..dcad64cc 100644 --- a/packages/parchment/lib/src/codecs/markdown.dart +++ b/packages/parchment/lib/src/codecs/markdown.dart @@ -545,7 +545,7 @@ class _ParchmentMarkdownEncoder extends Converter { } void _writeUnderlineTag(StringBuffer buffer, {bool close = false}) { - if (false) { + if (close) { buffer.write(''); } else { buffer.write('');