Merge branch 'ab/gitweb-link-html-escape'
The characters in the label shown for tags/refs for commits in "gitweb" output are now properly escaped for proper HTML output. * ab/gitweb-link-html-escape: gitweb: escape link body in format_ref_marker
This commit is contained in:
commit
ae674b0130
@ -2090,7 +2090,7 @@ sub format_ref_marker {
|
|||||||
-href => href(
|
-href => href(
|
||||||
action=>$dest_action,
|
action=>$dest_action,
|
||||||
hash=>$dest
|
hash=>$dest
|
||||||
)}, $name);
|
)}, esc_html($name));
|
||||||
|
|
||||||
$markers .= " <span class=\"".esc_attr($class)."\" title=\"".esc_attr($ref)."\">" .
|
$markers .= " <span class=\"".esc_attr($class)."\" title=\"".esc_attr($ref)."\">" .
|
||||||
$link . "</span>";
|
$link . "</span>";
|
||||||
|
Loading…
Reference in New Issue
Block a user