Merge commit 'ea70d8ac7ae26f' into amp
This commit is contained in:
commit
3ee55f1abe
|
@ -36,4 +36,4 @@ module Jekyll
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -29,4 +29,9 @@ class TestFilters < Test::Unit::TestCase
|
||||||
assert_equal "chunky, bacon, bits, and pieces", @filter.array_to_sentence_string(["chunky", "bacon", "bits", "pieces"])
|
assert_equal "chunky, bacon, bits, and pieces", @filter.array_to_sentence_string(["chunky", "bacon", "bits", "pieces"])
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
def test_xml_escape_with_ampersands
|
||||||
|
assert_equal "AT&T", @filter.xml_escape("AT&T")
|
||||||
|
assert_equal "<code>command &lt;filename&gt;</code>", @filter.xml_escape("<code>command <filename></code>")
|
||||||
|
end
|
||||||
|
|
||||||
|
end
|
||||||
|
|
Loading…
Reference in New Issue