From 9044e2ad493e822b3bc59a5c1f8f03749eb0f36d Mon Sep 17 00:00:00 2001 From: D Brezack Date: Fri, 26 Apr 2024 16:45:11 -0700 Subject: [PATCH] fix: MD Parsing for multi space (#1828) * Fixing MD Parsing for multi space * Fixing lint --- lib/src/packages/quill_markdown/markdown_to_delta.dart | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/src/packages/quill_markdown/markdown_to_delta.dart b/lib/src/packages/quill_markdown/markdown_to_delta.dart index 76285a15..53194f77 100644 --- a/lib/src/packages/quill_markdown/markdown_to_delta.dart +++ b/lib/src/packages/quill_markdown/markdown_to_delta.dart @@ -117,9 +117,7 @@ class MarkdownToDelta extends Converter _justPreviousBlockExit = false; _listItemIndent = -1; - final lines = const LineSplitter().convert(input); - final mdNodes = markdownDocument.parseLines(lines); - + final mdNodes = markdownDocument.parseInline(input); _topLevelNodes.addAll(mdNodes); for (final node in mdNodes) {