Skip to content

Commit

Permalink
🎨 Vditor 支持 Vanessa219/vditor#41
Browse files Browse the repository at this point in the history
  • Loading branch information
88250 committed Jan 7, 2020
1 parent 010022d commit 1eca2c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/vditor_renderer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ func TestVditorDOM2Md(t *testing.T) {

var spinVditorDOMTests = []*parseTest{

{"59", `<ul data-tight="true" data-block="0"><li data-marker="-"><p>foo</p><ul data-tight="true" data-block="0"><li data-marker="-">bar<wbr></li></ul></li></ul>`, "<ul data-tight=\"true\" data-block=\"0\"><li data-marker=\"-\">foo<ul data-tight=\"true\" data-block=\"0\"><li data-marker=\"-\">bar<wbr></li></ul></li></ul>"},
{"58", "<p data-block=\"0\">![](/bar)<wbr>\n</p>", "<p data-block=\"0\"><img src=\"/bar\" alt=\"\" /><wbr>\n</p>"},
{"57", "<p data-block=\"0\">/<span data-type=\"backslash\"><span>\\</span>_</span><span data-type=\"backslash\"><span>\\</span>_</span>foo__.\n</p>", "<p data-block=\"0\">/<span data-type=\"backslash\"><span>\\</span>_</span><span data-type=\"backslash\"><span>\\</span>_</span>foo__.\n</p>"},
{"56", "<p data-block=\"0\">[foo](bar<wbr>)\n</p>", "<p data-block=\"0\">[foo](bar<wbr>)\n</p>"},
Expand Down

0 comments on commit 1eca2c2

Please sign in to comment.