Author: dom Date: 2006-04-20 11:16:03 +0100 (Thu, 20 Apr 2006) New Revision: 770
Modified: trunk/Changes trunk/lib/OpenGuides/Template.pm Log: Fix broken URL preview (fixes #107)
Modified: trunk/Changes =================================================================== --- trunk/Changes 2006-04-20 09:42:05 UTC (rev 769) +++ trunk/Changes 2006-04-20 10:16:03 UTC (rev 770) @@ -7,6 +7,7 @@ New OpenGuides::Feed module to handle feed generation (code was previously in OpenGuides::RDF). Generate URIs for locales and contributors in RDF output. + #107 Don't display partial http:// URL in preview.
0.52 5 March 2006 IMPORTANT CHANGE: "supersearch.cgi" is now simply "search.cgi". If you
Modified: trunk/lib/OpenGuides/Template.pm =================================================================== --- trunk/lib/OpenGuides/Template.pm 2006-04-20 09:42:05 UTC (rev 769) +++ trunk/lib/OpenGuides/Template.pm 2006-04-20 10:16:03 UTC (rev 770) @@ -281,7 +281,7 @@ my $website = $args{metadata} ? $metadata{website}[0] : $q->param("website"); my $formatted_website_text = ""; - if ( $website ) { + if ( $website && $website != "http://" ) { $formatted_website_text = $class->format_website_text( formatter => $formatter, text => $website