Do not unfold non-referables when moving an issue
This commit is contained in:
parent
9124ebce98
commit
cd0f194508
1 changed files with 2 additions and 0 deletions
|
@ -21,6 +21,8 @@ module Banzai
|
|||
|
||||
def call
|
||||
@referables.each do |referable|
|
||||
next unless referable.respond_to?(:to_reference)
|
||||
|
||||
pattern = /#{Regexp.escape(referable.to_reference)}/
|
||||
@text.gsub!(pattern, referable.to_reference(@new_project))
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue