summaryrefslogtreecommitdiff
path: root/spec/lib/banzai
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2019-04-05 09:24:36 +0000
committerSean McGivern <sean@gitlab.com>2019-04-05 09:24:36 +0000
commit9bee979872bbdfb9930cc31ff7caed698acb3b58 (patch)
tree06cf410d97acf6afa9e05e980b802fdaa3bdb4dd /spec/lib/banzai
parent5b273d355f47baa27b365e22b96a07187c78e1a7 (diff)
parent949bcb1f8d9695171d0dc88461f6a16800ac57c9 (diff)
downloadgitlab-ce-9bee979872bbdfb9930cc31ff7caed698acb3b58.tar.gz
Merge branch '58717-checkbox-cannot-be-checked-if-a-blockquote-is-above' into 'master'
Checkbox cannot be checked if preceded by a blockquote Closes #58717 See merge request gitlab-org/gitlab-ce!26937
Diffstat (limited to 'spec/lib/banzai')
-rw-r--r--spec/lib/banzai/filter/blockquote_fence_filter_spec.rb2
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