Implement SkipImages and add test
Vytautas Ĺ altenis vytas@rtfb.lt
Tue, 05 Apr 2016 11:12:30 +0300
2 files changed,
12 insertions(+),
0 deletions(-)
M
inline_test.go
→
inline_test.go
@@ -1130,6 +1130,15 @@ HTMLFlags: SkipLinks,
}) } +func TestSkipImages(t *testing.T) { + doTestsInlineParam(t, []string{ + "![foo](/bar/)\n", + "<p></p>\n", + }, TestParams{ + HTMLFlags: SkipImages, + }) +} + func TestUseXHTML(t *testing.T) { doTestsParam(t, []string{ "---",