From 51a780b487781adda2bca7902537a168ae9c9dc9 Mon Sep 17 00:00:00 2001 From: Marcin Sedlak-Jakubowski Date: Thu, 24 Jun 2021 12:03:48 +0200 Subject: Expand version formatter to support "renamed" --- lib/filters/introduced_in.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 in" # - "moved to" # ...followed by "GitLab" - next if content !~ /()?(introduced|(re)?moved|deprecated)(<\/a>)?(.*)? (in|to).*GitLab/mi + next if content !~ /()?(introduced|(re)?moved|deprecated|renamed)(<\/a>)?(.*)? (in|to).*GitLab/mi new_content = generate(content) blockquote.replace(new_content) -- cgit v1.2.3