Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/banzai/filter/plantuml_filter.rb')
-rw-r--r--lib/banzai/filter/plantuml_filter.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/banzai/filter/plantuml_filter.rb b/lib/banzai/filter/plantuml_filter.rb
index 3f160960d23..68a99702d6f 100644
--- a/lib/banzai/filter/plantuml_filter.rb
+++ b/lib/banzai/filter/plantuml_filter.rb
@@ -25,12 +25,7 @@ module Banzai
private
def lang_tag
- @lang_tag ||=
- if Feature.enabled?(:use_cmark_renderer, default_enabled: :yaml)
- Gitlab::Utils::Nokogiri.css_to_xpath('pre[lang="plantuml"] > code').freeze
- else
- Gitlab::Utils::Nokogiri.css_to_xpath('pre > code[lang="plantuml"]').freeze
- end
+ @lang_tag ||= Gitlab::Utils::Nokogiri.css_to_xpath('pre[lang="plantuml"] > code').freeze
end
def settings