From e9840a3d1464a1d27b4ee23d5067a3adadd9eeae Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Tue, 9 Jan 2024 22:13:02 +0800 Subject: [PATCH] :white_check_mark: Add test case https://github.com/88250/lute/issues/201 --- test/h2m_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/h2m_test.go b/test/h2m_test.go index 066892b1c5..7a2d97658c 100644 --- a/test/h2m_test.go +++ b/test/h2m_test.go @@ -18,6 +18,8 @@ import ( var html2MdTests = []parseTest{ + {"86", "", "![](a_1.png)\n"}, + {"85", "<img src=\"a_1.png\" >", "\n"}, {"84", "
符号 | \n意义 | \n说明 | \n
---|---|---|
\\n | \n换行符 | \n表示文章的换行,这是一个不可见符号,在例子中,这个符号在 _ 的位置。\naaa_\n 你能够通过 | \n
符号 | \n意义 | \n说明 | \n
---|---|---|
. | \n任意一个字符 | \n最简单的元字符,匹配任意字符,但不包括换行符 \\n 。 | \n
", "```\nfoo\nbar\n```\n"},foobar