Add shortcode test for mmark

This commit is contained in:
Bjørn Erik Pedersen 2016-07-20 00:40:40 +02:00
parent c0eedfe956
commit e9924e964b

View file

@ -473,6 +473,9 @@ e`,
{"sect/doc8.rst", `**Shortcodes:** *b: {{< b >}} c: {{% c %}}*`,
filepath.FromSlash("sect/doc8/index.html"),
"<div class=\"document\">\n\n\n<p><strong>Shortcodes:</strong> <em>b: b c: c</em></p>\n</div>"},
{"sect/doc9.mmark", `**Shortcodes:** *b: {{< b >}} c: {{% c %}}*`,
filepath.FromSlash("sect/doc9/index.html"),
"<p><strong>Shortcodes:</strong> <em>b: b c: c</em></p>\n"},
}
sources := make([]source.ByteSource, len(tests))