Jakub Narębski [off-list ref] writes:
Good catch!
Acked-by: Jakub Narębski <redacted>
Sigh; the contents may be good but the patch is unusable as-is
because of heavy whitespace damage.
I'll fix it up. Thanks, both.
quoted
---
gitweb/gitweb.perl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index 2fddf75..33d701d 100755
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
@@ -2090,7 +2090,7 @@ sub format_ref_marker {
-href => href(
action=>$dest_action,
hash=>$dest
- )}, $name);
+ )}, esc_html($name));
$markers .= " <spanclass=\"".esc_attr($class)."\" title=\"".esc_attr($ref)."\">" .
$link . "</span>";