Skip to content

Commit e2f9577

Browse files
committedSep 8, 2011
Two newlines before the URL breaks linking even in the default template where this value is used as the url parameter.
The newlines get changed to <br />'s and that stuffed into the param of an href. A URL really should just be a URL. Or a URI. Or one of those things.
1 parent d721816 commit e2f9577

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lib/WebGUI/Workflow/Activity/NotifyAboutVersionTag.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ sub execute {
101101
if ($versionTag->getAssetCount) {
102102
# if there's only one asset in the tag, we might as well give them a direct link to it
103103
my $asset = $versionTag->getAssets->[0];
104-
$urlOfSingleAsset = "\n\n".$self->session->url->getSiteURL().$asset->getUrl("func=view;revision=".$asset->get("revisionDate"));
104+
$urlOfSingleAsset = $self->session->url->getSiteURL().$asset->getUrl("func=view;revision=".$asset->get("revisionDate"));
105105
}
106106
my $var = {
107107
message => $self->get('message'),

0 commit comments

Comments
 (0)
Please sign in to comment.