mirror of
https://github.com/jekyll/jekyll.git
synced 2026-04-28 03:01:03 -04:00
Add textilize filter for transforming input into HTML via RedCloth, so you can have Textile-formatted attributes other than the page's content (for example, an excerpt)
This commit is contained in:
@@ -10,6 +10,10 @@ class TestFilters < Test::Unit::TestCase
|
||||
@filter = JekyllFilter.new
|
||||
end
|
||||
|
||||
def test_textilize_with_simple_string
|
||||
assert_equal "<p>something <strong>really</strong> simple</p>", @filter.textilize("something *really* simple")
|
||||
end
|
||||
|
||||
def test_array_to_sentence_string_with_no_args
|
||||
assert_equal "", @filter.array_to_sentence_string([])
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user