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
No replacein markdown rendering
Fix
#430
index-subcmd
Vincent Prouillet
6 years ago
parent
62b89d0c72
commit
10c7aa0a6a
1 changed files
with
0 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-1
components/rendering/src/markdown.rs
+ 0
- 1
components/rendering/src/markdown.rs
View File
@@ -239,7 +239,6 @@ pub fn markdown_to_html(content: &str, context: &RenderContext) -> Result<Render
if let Some(e) = error {
return Err(e)
} else {
html = html.replace("<p></p>", "").replace("</p></p>", "</p>");
Ok(Rendered {
summary_len: if has_summary { html.find(CONTINUE_READING) } else { None },
body: html,
Write
Preview
Loading…
Cancel
Save