diff options
author | Douwe Maan <douwe@selenight.nl> | 2018-06-18 14:28:21 +0300 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2018-06-18 14:28:39 +0300 |
commit | b762fc4b460bed9f0510f19e20130fc331fa1efe (patch) | |
tree | 2fa15d7c7a8ba5c2183edbf4fa2d1d1221fd6aca /spec/lib/banzai | |
parent | 99fdbe4c230205510e1d7061e68bb1a003913d4b (diff) |
Allow trailing whitespace on blockquote fence lines
Diffstat (limited to 'spec/lib/banzai')
-rw-r--r-- | spec/lib/banzai/filter/blockquote_fence_filter_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/lib/banzai/filter/blockquote_fence_filter_spec.rb b/spec/lib/banzai/filter/blockquote_fence_filter_spec.rb index 8224dc5a6b9..b645e49bd43 100644 --- a/spec/lib/banzai/filter/blockquote_fence_filter_spec.rb +++ b/spec/lib/banzai/filter/blockquote_fence_filter_spec.rb @@ -11,4 +11,8 @@ describe Banzai::Filter::BlockquoteFenceFilter do expect(output).to eq(expected) end + + it 'allows trailing whitespace on blockquote fence lines' do + expect(filter(">>> \ntest\n>>> ")).to eq("> test") + end end |