add proper shell escaping for Albino

This commit is contained in:
rick
2011-01-11 00:30:22 -08:00
parent 996f81d63d
commit fc84a4e989
2 changed files with 25 additions and 0 deletions
+12
View File
@@ -353,6 +353,18 @@ context "Markup" do
compare(content, output)
end
test "code block with invalid lang" do
content = "a\n\n``` ls -al;\n\tbooya\n\tboom\n```\n\nb"
output = "<p>a</p>\n\n\n\n<p>b</p>"
compare(content, output)
end
test "code block with no lang" do
content = "a\n\n```\n\tls -al;\n\tbooya\n```\n\nb"
output = "<p>a</p>\n\n\n\n<p>b</p>"
compare(content, output)
end
#########################################################################
#
# Various