diff options
Diffstat (limited to 'lib/banzai/filter/inline_metrics_filter.rb')
-rw-r--r-- | lib/banzai/filter/inline_metrics_filter.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/banzai/filter/inline_metrics_filter.rb b/lib/banzai/filter/inline_metrics_filter.rb index c1f4bf1f97f..e8145e93851 100644 --- a/lib/banzai/filter/inline_metrics_filter.rb +++ b/lib/banzai/filter/inline_metrics_filter.rb @@ -20,6 +20,7 @@ module Banzai # the cost of doing a full regex match. def xpath_search "descendant-or-self::a[contains(@href,'metrics') and \ + contains(@href,'environments') and \ starts-with(@href, '#{Gitlab.config.gitlab.url}')]" end |