This website works better with JavaScript.
git.jstrong.dev
Home
Explore
Help
Sign In
jstrong
/
zola
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Fix image in markdown rendering
index-subcmd
Vincent Prouillet
6 years ago
parent
28641fc223
commit
f07bb38c37
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
components/rendering/src/markdown.rs
+ 1
- 1
components/rendering/src/markdown.rs
View File
@@ -115,7 +115,7 @@ pub fn markdown_to_html(content: &str, context: &RenderContext) -> Result<(Strin
);
}
Event::Start(Tag::
Link
(src, title))
Event::Start(Tag::
Image
(src, title))
},
Event::Start(Tag::Link(link, title)) => {
// A few situations here:
Write
Preview
Loading…
Cancel
Save