diff options
author | Mario de la Ossa <mariodelaossa@gmail.com> | 2019-06-18 19:28:18 -0600 |
---|---|---|
committer | Mario de la Ossa <mariodelaossa@gmail.com> | 2019-06-20 10:15:59 -0600 |
commit | 35a39c1d3476f0398a2846772e075b9a003bd623 (patch) | |
tree | d05c573104c889b138cfd3a22271bcce154c1abe /lib | |
parent | ba952d53c5782e49b59ba3e5dd89c2c1eca02c80 (diff) | |
download | gitlab-ce-35a39c1d3476f0398a2846772e075b9a003bd623.tar.gz |
Do not rewrite relative links for system notesbug/63162-duplicate_path_in_links
Diffstat (limited to 'lib')
-rw-r--r-- | lib/banzai/filter/relative_link_filter.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/banzai/filter/relative_link_filter.rb b/lib/banzai/filter/relative_link_filter.rb index 199b3533cf4..80c84c0f622 100644 --- a/lib/banzai/filter/relative_link_filter.rb +++ b/lib/banzai/filter/relative_link_filter.rb @@ -17,6 +17,8 @@ module Banzai include Gitlab::Utils::StrongMemoize def call + return doc if context[:system_note] + @uri_types = {} clear_memoization(:linkable_files) |