diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-08 18:10:00 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-08 18:10:00 +0300 |
commit | 0ebbf19f2d2b87e1f2aca1c59efde1aa6a766cf6 (patch) | |
tree | b45534e86659ab6fa97c240563651b2e03dfce4d /spec/lib/banzai/pipeline | |
parent | ccc2dc45a3e8fab3dfeda097be601b16c5beff13 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/lib/banzai/pipeline')
-rw-r--r-- | spec/lib/banzai/pipeline/plain_markdown_pipeline_spec.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/spec/lib/banzai/pipeline/plain_markdown_pipeline_spec.rb b/spec/lib/banzai/pipeline/plain_markdown_pipeline_spec.rb index 5f31ad0c8f6..4903f624469 100644 --- a/spec/lib/banzai/pipeline/plain_markdown_pipeline_spec.rb +++ b/spec/lib/banzai/pipeline/plain_markdown_pipeline_spec.rb @@ -17,20 +17,6 @@ RSpec.describe Banzai::Pipeline::PlainMarkdownPipeline do result end - context 'when feature flag honor_escaped_markdown is disabled' do - before do - stub_feature_flags(honor_escaped_markdown: false) - end - - it 'does not escape the markdown' do - result = described_class.call(%q(\!), project: project) - output = result[:output].to_html - - expect(output).to eq('<p data-sourcepos="1:1-1:2">!</p>') - expect(result[:escaped_literals]).to be_falsey - end - end - describe 'CommonMark tests', :aggregate_failures do it 'converts all reference punctuation to literals' do reference_chars = Banzai::Filter::MarkdownPreEscapeFilter::REFERENCE_CHARACTERS |