FIX: [quote] without params was failing.

This commit is contained in:
Robin Ward
2013-10-21 11:11:54 -04:00
parent f565766b1e
commit 1783089d64
2 changed files with 26 additions and 12 deletions

View File

@ -74,6 +74,11 @@ test("quotes", function() {
formatQuote("this is <not> a bug",
"[quote=\"eviltrout, post:1, topic:2\"]\nthis is &lt;not&gt; a bug\n[/quote]\n\n",
"it escapes the contents of the quote");
format("[quote]test[/quote]",
"<aside class=\"quote\"><blockquote><p>test</p></blockquote></aside>",
"it supports quotes without params");
});
test("quote formatting", function() {