REMOVE: Auto quoting confused more people than it helped.

This commit is contained in:
Robin Ward
2014-08-22 14:51:08 -04:00
parent dafc63e3a0
commit 2ae46b4742
2 changed files with 0 additions and 32 deletions

View File

@ -30,15 +30,6 @@ test("basic cooking", function() {
cooked("brussel sproutes are *awful*.", "<p>brussel sproutes are <em>awful</em>.</p>", "it doesn't swallow periods.");
});
test("Auto quoting", function() {
cooked('"My fake plants died because I did not pretend to water them."',
"<p><blockquote>My fake plants died because I did not pretend to water them.</blockquote></p>",
"it converts single line quotes to blockquotes");
cooked('"hello\nworld"', "<p>\"hello<br/>world\"</p>", "It doesn't convert multi line quotes");
cooked('"hello "evil" trout"', '<p>"hello "evil" trout"</p>', "it doesn't format quotes in the middle of a line");
cooked('["text"', '<p>["text"</p>', "it recognizes leading tag-like text");
});
test("Traditional Line Breaks", function() {
var input = "1\n2\n3";
cooked(input, "<p>1<br/>2<br/>3</p>", "automatically handles trivial newlines");