projects
/
scpubgit/JSON-Tree-Viewer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
a3808ee
)
fixed link title encoding issue
Robert 'phaylon' Sedlacek [Wed, 20 Jun 2012 21:26:29 +0000 (21:26 +0000)]
br.pl
patch
|
blob
|
blame
|
history
diff --git
a/br.pl
b/br.pl
index
f900028
..
1181443
100644
(file)
--- a/
br.pl
+++ b/
br.pl
@@
-160,9
+160,10
@@
sub link_to {
my ($self, @to) = @_;
use HTML::Tags;
my @link = map {
- s{\\}{\\\\}g;
- s{/}{\\/}g;
- $_;
+ my $link = $_;
+ $link =~ s{\\}{\\\\}g;
+ $link =~ s{/}{\\/}g;
+ $link;
} @to;
my $link = join('/', @link, '');
my $to = $to[-1];