diff options
author | Eric Wong <e@80x24.org> | 2020-09-09 21:23:25 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2020-09-10 19:45:18 +0000 |
commit | aaf555cd455b46528f893ebb0f4769997fb94a74 (patch) | |
tree | 5ccbad0fa67b620e32b607fde95681a9a347d53d /lib | |
parent | d540575bf64e4de1512b4bf5ad8aa18247828c27 (diff) | |
download | public-inbox-aaf555cd455b46528f893ebb0f4769997fb94a74.tar.gz |
Save screen space and light up fewer pixels to reduce visual noise.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/PublicInbox/WwwText.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/PublicInbox/WwwText.pm b/lib/PublicInbox/WwwText.pm index 81c0ee4a..87dc0751 100644 --- a/lib/PublicInbox/WwwText.pm +++ b/lib/PublicInbox/WwwText.pm @@ -198,11 +198,11 @@ EOF if ($urls && scalar(@$urls)) { $$txt .= "\t; "; $$txt .= join(" ||\n\t;\t", map {; - my $cpath = $path; + my $dst = $path; if ($path !~ m![a-z0-9_/\.\-]!i) { - $cpath = dq_escape($cpath); + $dst = '"'.dq_escape($dst).'"'; } - qq(git clone $_ "$cpath"); + qq(git clone $_ $dst); } @$urls); $$txt .= "\n"; } |