FIX: Quotes inside a list

This commit is contained in:
Robin Ward
2013-09-05 17:03:35 -04:00
parent 341f8c8877
commit 63be950e5f
4 changed files with 25 additions and 16 deletions

View File

@ -119,6 +119,12 @@ test("simple quotes", function() {
cooked("> level 1\n> > level 2",
"<blockquote><p>level 1</p><blockquote><p>level 2</p></blockquote></blockquote>",
"it allows nesting of blockquotes with spaces");
cooked("- hello\n\n > world\n > eviltrout",
"<ul><li>hello</li></ul>\n\n<blockquote><p>world<br>eviltrout</p></blockquote>",
"it allows quotes within a list.");
cooked(" > indent 1\n > indent 2", "<blockquote><p>indent 1<br>indent 2</p></blockquote>", "allow multiple spaces to indent");
});
test("Quotes", function() {