diff options
Diffstat (limited to 'lib/banzai/filter/plantuml_filter.rb')
-rw-r--r-- | lib/banzai/filter/plantuml_filter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/banzai/filter/plantuml_filter.rb b/lib/banzai/filter/plantuml_filter.rb index 6a1fa64fb76..2e5f1b29c52 100644 --- a/lib/banzai/filter/plantuml_filter.rb +++ b/lib/banzai/filter/plantuml_filter.rb @@ -32,7 +32,7 @@ module Banzai def lang_tag @lang_tag ||= Gitlab::Utils::Nokogiri - .css_to_xpath('pre[lang="plantuml"] > code, pre > code[lang="plantuml"]').freeze + .css_to_xpath('pre[data-canonical-lang="plantuml"] > code, pre > code[data-canonical-lang="plantuml"]').freeze end def settings |