[Bps-public-commit] App-Changeloggr branch, master, updated. a65a8f7ced1819e753c8e4729d9e01b8b482465f

sartak at bestpractical.com sartak at bestpractical.com
Wed Aug 5 22:19:49 EDT 2009


The branch, master has been updated
       via  a65a8f7ced1819e753c8e4729d9e01b8b482465f (commit)
      from  8d06b17b8f1f0b131e54c7ce7dc3a5c2d083d64f (commit)

Summary of changes:
 lib/App/Changeloggr/View.pm |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit a65a8f7ced1819e753c8e4729d9e01b8b482465f
Author: Shawn M Moore <sartak at gmail.com>
Date:   Wed Aug 5 22:19:41 2009 -0400

    Strip the anchor from the external source link

diff --git a/lib/App/Changeloggr/View.pm b/lib/App/Changeloggr/View.pm
index bd0da5b..f2aef90 100644
--- a/lib/App/Changeloggr/View.pm
+++ b/lib/App/Changeloggr/View.pm
@@ -164,6 +164,8 @@ sub show_change {
         p {
             { class is "identifier" };
             if (my $url = $change->external_source) {
+                # the anchor is more for the iframe
+                $url =~ s/#.*//;
                 hyperlink(
                     label  => $change->identifier,
                     url    => $url,

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



More information about the Bps-public-commit mailing list