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('');