From: patrick-scho Date: Sat, 29 Nov 2025 14:07:10 +0000 (+0100) Subject: escape \s in double quotes X-Git-Url: https://gitweb.ps.run/ps-gitweb/commitdiff_plain/554ee2efd7d9669b64c548e696a2dc92342464c3 escape \s in double quotes --- diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index a1c838d..07e5359 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -7231,7 +7231,7 @@ sub get_markdown { my $thash = shift; my $rethtmlstr = ""; use open ":encoding(utf8)"; # needed to have utf8 survive through the shell pipe - my $cmd_markdownify = $GIT . " " . git_cmd() . " cat-file blob " . $thash . " | " . $PERL . " -e 'my \$str = do { local \$/; }; \$str =~ s/