diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2017-12-29 12:05:42 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2018-01-22 15:24:28 +0530 |
| commit | f951d7438937df9938d49be4c53c45cdfaaf867e (patch) | |
| tree | 199fef3a9fd568fda1df637fee689cb60668b0f2 | |
| parent | 30fca0919c8bcb7995982d4141b3a6f2e651c5a6 (diff) | |
| download | rust-f951d7438937df9938d49be4c53c45cdfaaf867e.tar.gz rust-f951d7438937df9938d49be4c53c45cdfaaf867e.zip | |
Don't return early and discard the link in hoedown mode
| -rw-r--r-- | src/librustdoc/html/markdown.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |
