mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-30 01:08:26 -05:00
Merge commit 'ea70d8ac7ae26f' into amp
This commit is contained in:
@@ -36,4 +36,4 @@ module Jekyll
|
||||
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"])
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user