[Rt-commit] rt branch, 4.0/extension-docs, updated. rt-4.0.13-91-g4fed245

Thomas Sibley trs at bestpractical.com
Mon Jul 1 19:59:19 EDT 2013


The branch, 4.0/extension-docs has been updated
       via  4fed245dfd1a1f7ae97d6f8cc94073f3a7778d38 (commit)
      from  39faa0ed8f452214b23319b20457b0e9900a5bb6 (commit)

Summary of changes:
 lib/RT/Pod/HTML.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit 4fed245dfd1a1f7ae97d6f8cc94073f3a7778d38
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Mon Jul 1 16:59:01 2013 -0700

    POD links to RT::Extension:: and RT::Authen:: are not local

diff --git a/lib/RT/Pod/HTML.pm b/lib/RT/Pod/HTML.pm
index 55abe2d..966c761 100644
--- a/lib/RT/Pod/HTML.pm
+++ b/lib/RT/Pod/HTML.pm
@@ -129,7 +129,7 @@ sub resolve_local_link {
         : '';
 
     my $local;
-    if ($name =~ /^RT(::|$)/) {
+    if ($name =~ /^RT(::(?!Extension::|Authen::)|$)/) {
         $local = join "/",
                   map { $self->encode_entities($_) }
                 split /::/, $name;

-----------------------------------------------------------------------


More information about the Rt-commit mailing list