Permalink
Browse files

[irclog]: fixed revision links at start of lines

git-svn-id: http://svn.pugscode.org/pugs/misc/irclog@16282 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information...
1 parent c16782d commit eb8c079c1a39ecec9eee8b913270628595415eb3 moritz committed May 13, 2007
Showing with 2 additions and 2 deletions.
  1. +2 −2 IrcLog.pm
View
@@ -105,9 +105,9 @@ sub linkify {
sub revision_linkify {
my $str = shift;
my $result = "";
- while ($str =~ m/ r(\d+)\b/){
+ while ($str =~ m/\br(\d+)\b/){
$result .= synopsis_linkify($`);
- $result .= qq{ <a href="http://dev.pugscode.org/changeset/$1">$&</a>};
+ $result .= qq{<a href="http://dev.pugscode.org/changeset/$1">$&</a>};
$str = $';
}
return $result . synopsis_linkify($str);

0 comments on commit eb8c079

Please sign in to comment.