X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Flib%2FRT%2FPod%2FHTML.pm;h=6b69901b197c1e8216390cce55b86b1f127df507;hb=de9d037528895f7151a9aead6724ce2df95f9586;hp=69045595b3fe4adfc7b2c3e1b87ae097e985a9c1;hpb=45d35d5739d05e602bc317739485693e0e9ff0b5;p=freeside.git diff --git a/rt/lib/RT/Pod/HTML.pm b/rt/lib/RT/Pod/HTML.pm index 69045595b..6b69901b1 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-2014 Best Practical Solutions, LLC +# This software is Copyright (c) 1996-2017 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$}