diff --git a/src/Writers/HTMLWriter.jl b/src/Writers/HTMLWriter.jl index 1f4f8c35c7..8124be2176 100644 --- a/src/Writers/HTMLWriter.jl +++ b/src/Writers/HTMLWriter.jl @@ -1666,7 +1666,7 @@ function fixlinks!(ctx, navnode, link::Markdown.Link) # provided files or generated by code examples) path = relhref(get_url(ctx, navnode), path) else - @warn "invalid local link: unresolved path in $(Utilities.locrepr(navnode.page))" link = link.url + @warn "invalid local link: unresolved path in $(Utilities.locrepr(navnode.page))" link.text link.url end # Replace any backslashes in links, if building the docs on Windows