Skip to content

Commit

Permalink
HTML: Open git link in target=_blank
Browse files Browse the repository at this point in the history
  • Loading branch information
kernc committed Dec 13, 2024
1 parent f33f891 commit fd995aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdoc/templates/html.mako
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<summary>
<span>Expand source code</span>
% if git_link:
<a href="${git_link}" class="git-link">Browse git</a>
<a href="${git_link}" class="git-link" target="_blank">Browse git</a>
%endif
</summary>
<pre><code class="python">${d.source | h}</code></pre>
Expand Down

0 comments on commit fd995aa

Please sign in to comment.