[Rt-commit] rt branch, 4.0/extension-docs, updated. rt-4.0.13-93-gffb74c3
Thomas Sibley
trs at bestpractical.com
Mon Jul 1 20:24:44 EDT 2013
The branch, 4.0/extension-docs has been updated
via ffb74c3d5ddfc5ce0d8b9619584145814ecdef45 (commit)
from bf4419100d078f93a775360b6ebc3e3c8e218224 (commit)
Summary of changes:
lib/RT/Pod/HTML.pm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
- Log -----------------------------------------------------------------
commit ffb74c3d5ddfc5ce0d8b9619584145814ecdef45
Author: Thomas Sibley <trs at bestpractical.com>
Date: Mon Jul 1 17:23:53 2013 -0700
Link extension config files when in F<>
This lets F<RTIR_Config.pm> work just like F<RT_Config.pm>.
diff --git a/lib/RT/Pod/HTML.pm b/lib/RT/Pod/HTML.pm
index 681db87..67f0f54 100644
--- a/lib/RT/Pod/HTML.pm
+++ b/lib/RT/Pod/HTML.pm
@@ -137,9 +137,9 @@ sub resolve_local_link {
elsif ($name =~ /^rt([-_]|$)/) {
$local = $self->encode_entities($name);
}
- elsif ($name eq "RT_Config" or $name eq "RT_Config.pm") {
- $name = "RT_Config";
- $local = "RT_Config";
+ elsif ($name =~ /^RT([A-Za-z0-9]*)_Config(\.pm)$/) {
+ $name = "RT$1_Config";
+ $local = "RT$1_Config";
}
# These matches handle links that look like filenames, such as those we
# parse out of F<> tags.
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list