diff options
author | Brett Walker <bwalker@gitlab.com> | 2019-04-03 16:42:23 +0300 |
---|---|---|
committer | Brett Walker <bwalker@gitlab.com> | 2019-04-05 02:59:31 +0300 |
commit | 949bcb1f8d9695171d0dc88461f6a16800ac57c9 (patch) | |
tree | 2716c2263861178b7ddd366f336700d40a73c35a /spec/lib/banzai/filter | |
parent | 3ccb4d954f4c51f4f3cc77ebd53f21425e0d4d09 (diff) |
Fenced blockquotes to not change source line pos
Replaces blockquote fences with \n,
keeping the line numbering intact.
Diffstat (limited to 'spec/lib/banzai/filter')
-rw-r--r-- | spec/lib/banzai/filter/blockquote_fence_filter_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/banzai/filter/blockquote_fence_filter_spec.rb b/spec/lib/banzai/filter/blockquote_fence_filter_spec.rb index b645e49bd43..5b3f679084e 100644 --- a/spec/lib/banzai/filter/blockquote_fence_filter_spec.rb +++ b/spec/lib/banzai/filter/blockquote_fence_filter_spec.rb @@ -13,6 +13,6 @@ describe Banzai::Filter::BlockquoteFenceFilter do end it 'allows trailing whitespace on blockquote fence lines' do - expect(filter(">>> \ntest\n>>> ")).to eq("> test") + expect(filter(">>> \ntest\n>>> ")).to eq("\n> test\n") end end |