Skip to content
This repository was archived by the owner on Nov 16, 2020. It is now read-only.

Commit 5ed48b8

Browse files
committed
Hovering over a footnote link displays the footnote via tooltip.
1 parent 847299b commit 5ed48b8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

process.pl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ sub write_html {
108108
};
109109
if (my $f = $row[$_][1]) {
110110
$h->{footnote} = ($footnotes{$f} //= ++$footnote_counter);
111+
$h->{ftext} = $f;
111112
}
112113
$h;
113114
} 0..($index - 1) ];

template.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ <h2>Features</h2>
7878
<%else%>
7979
<td><%var feature%></td>
8080
<%loop compilers%>
81-
<td><div class="<%var class%>"><%var status%><%if footnote%> <a href="#footnote_<%var footnote%>" class="footnote_link">(<%var footnote%>)</a><%/if%></div></td>
81+
<td><div class="<%var class%>"><%var status%><%if footnote%> <a href="#footnote_<%var footnote%>" title="<%var ftext escape=html%>" class="footnote_link">(<%var footnote%>)</a><%/if%></div></td>
8282
<%/loop%>
8383
<%/if%>
8484
</tr>

0 commit comments

Comments
 (0)