Skip to content

Commit 5ddcfc9

Browse files
asinghvi17pfitzseb
andauthored
Update src/renderers.jl
Co-authored-by: Sebastian Pfitzner <[email protected]>
1 parent 0612758 commit 5ddcfc9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/renderers.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ end
3838

3939
function render(c::Link, doc, thispage, prettyurls)
4040
# class nav-link nav-item makes the formatting correct
41-
# _target="blank" opens the link in a new tab
41+
# target="_blank" opens the link in a new tab
4242
# TODO: add "external link" icon after, either chain or arrow exiting box.
4343
# TODO: allow internal links
4444
return @htl """
45-
<a href=$(c.link) class="nav-link nav-item" _target="blank">$(c.text)</a>
45+
<a href=$(c.link) class="nav-link nav-item" target="_blank">$(c.text)</a>
4646
"""
4747
end
4848

0 commit comments

Comments
 (0)