From f951d7438937df9938d49be4c53c45cdfaaf867e Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Fri, 29 Dec 2017 12:05:42 +0530 Subject: [PATCH] Don't return early and discard the link in hoedown mode --- src/librustdoc/html/markdown.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustdoc/html/markdown.rs b/src/librustdoc/html/markdown.rs index 6fd8eb4de5f..c76a47ed25b 100644 --- a/src/librustdoc/html/markdown.rs +++ b/src/librustdoc/html/markdown.rs @@ -800,7 +800,7 @@ pub fn render(w: &mut fmt::Formatter, .find(|t| &*t.0 == &*link) { new_target.to_owned() } else { - return 0; + link }; let content = unsafe {