diff options
author | Marcin Sedlak-Jakubowski <msedlakjakubowski@gitlab.com> | 2021-06-24 13:03:48 +0300 |
---|---|---|
committer | Marcin Sedlak-Jakubowski <msedlakjakubowski@gitlab.com> | 2021-06-24 13:03:48 +0300 |
commit | 51a780b487781adda2bca7902537a168ae9c9dc9 (patch) | |
tree | b0b068d672552bf004152e0cd71de6450d80e53e /lib | |
parent | 5f878f6c7617a16935a9e4371be4b94ea545d856 (diff) |
Expand version formatter to support "renamed"
Diffstat (limited to 'lib')
-rw-r--r-- | lib/filters/introduced_in.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/filters/introduced_in.rb b/lib/filters/introduced_in.rb index aed35eae..a66339cd 100644 --- a/lib/filters/introduced_in.rb +++ b/lib/filters/introduced_in.rb @@ -15,7 +15,7 @@ class IntroducedInFilter < Nanoc::Filter # - "deprecated <optional text> in" # - "moved <optional text> to" # ...followed by "GitLab" - next if content !~ /(<a href="[^"]+">)?(introduced|(re)?moved|deprecated)(<\/a>)?(.*)? (in|to).*GitLab/mi + next if content !~ /(<a href="[^"]+">)?(introduced|(re)?moved|deprecated|renamed)(<\/a>)?(.*)? (in|to).*GitLab/mi new_content = generate(content) blockquote.replace(new_content) |