Skip to content

Commit fd995aa

Browse files
committed
HTML: Open git link in target=_blank
1 parent f33f891 commit fd995aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pdoc/templates/html.mako

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<summary>
3838
<span>Expand source code</span>
3939
% if git_link:
40-
<a href="${git_link}" class="git-link">Browse git</a>
40+
<a href="${git_link}" class="git-link" target="_blank">Browse git</a>
4141
%endif
4242
</summary>
4343
<pre><code class="python">${d.source | h}</code></pre>

0 commit comments

Comments
 (0)