+ test "it correctly renders a complex document" do
+ data = """
+ [quote]
+ A multiline quote.
+ This is the second line.
+ [/quote]
+
+ [ul]
+ [*]a
+ [*]b
+ [*]c
+ [/ul]
+
+ [b]bold[/b]
+ [i]italic[/i]
+ [u]underline[/u]
+ [s]strikethrough[/s]
+
+ [url=http://example.com]a link[/url]
+
+ @kaniini (a mention)
"""
+ expected =
+ "<blockquote>A multiline quote.\nThis is the second line.\n</blockquote><ul><li>a</li><li>b</li><li>c</li></ul><strong>bold</strong><br><em>italic</em><br><u>underline</u><br><del>strikethrough</del><br><br><a href=\"http://example.com\">a link</a><br><br>@kaniini (a mention)\n"