From 41312370a30850b4b3a6b108e383423cb84ff3e0 Mon Sep 17 00:00:00 2001 From: Pat Hawks Date: Sun, 12 Nov 2017 11:52:18 -0600 Subject: [PATCH] Add extra smartify test --- test/test_filters.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/test_filters.rb b/test/test_filters.rb index 8c892338..a56df6da 100644 --- a/test/test_filters.rb +++ b/test/test_filters.rb @@ -80,6 +80,13 @@ class TestFilters < JekyllUnitTest ) end + should "convert not convert markdown to block HTML elements" do + assert_equal( + "#hashtag", # NOT "

hashtag

" + @filter.smartify("#hashtag") + ) + end + should "escapes special characters when configured to do so" do kramdown = make_filter_mock({ :kramdown => { :entity_output => :symbolic } }) assert_equal(