Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[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
moritz committed May 13, 2007
1 parent c16782d commit eb8c079
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions IrcLog.pm
Expand Up @@ -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);
Expand Down

0 comments on commit eb8c079

Please sign in to comment.