Skip to content

Commit c85b855

Browse files
johnmcfarlaneJohn McFarlane
and
John McFarlane
authored
Escape function aliases, which may be templates (#323)
Signed-off-by: John McFarlane <git@john.mcfarlane.name> Co-authored-by: John McFarlane <git@john.mcfarlane.name>
1 parent e7f6176 commit c85b855

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

bin/genhtml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12590,6 +12590,10 @@ END_OF_HTML
1259012590
$tla;
1259112591
$tlaRow = "<td class=\"tla$tla\">$label</td>";
1259212592
}
12593+
12594+
# Escape special characters
12595+
$alias = escape_html($alias);
12596+
1259312597
write_html(*HTML_HANDLE, <<END_OF_HTML);
1259412598
<tr>
1259512599
<td class="coverFnAlias"><a href="$source#L$startline">$alias</a></td>

0 commit comments

Comments
 (0)