X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Flib%2FRT%2FPod%2FHTML.pm;h=86d382b65dbd551c2026e2ce8fe2e0ecc57671df;hb=HEAD;hp=092d6a864fcc6275e11c61348886a6c5806f6e35;hpb=73a6a80a9ca5edbd43d139b7cb25bfee4abfd35e;p=freeside.git diff --git a/rt/lib/RT/Pod/HTML.pm b/rt/lib/RT/Pod/HTML.pm index 092d6a864..86d382b65 100644 --- a/rt/lib/RT/Pod/HTML.pm +++ b/rt/lib/RT/Pod/HTML.pm @@ -2,7 +2,7 @@ # # COPYRIGHT: # -# This software is Copyright (c) 1996-2015 Best Practical Solutions, LLC +# This software is Copyright (c) 1996-2019 Best Practical Solutions, LLC # # # (Except where explicitly superseded by other copyright notices) @@ -145,6 +145,12 @@ sub resolve_local_link { # We process README separately in devel/tools/rt-static-docs $local = $name; } + elsif ($name =~ /^UPGRADING.*/) { + # If an UPGRADING file is referred to anywhere else (such as + # templates.pod) we won't have seen UPGRADING yet and will treat + # it as a non-local file. + $local = $name; + } # These matches handle links that look like filenames, such as those we # parse out of F<> tags. elsif ( $name =~ m{^(?:lib/)(RT/[\w/]+?)\.pm$}