diff --git a/components/rendering/src/markdown.rs b/components/rendering/src/markdown.rs index 6b79077c..dc409ce7 100644 --- a/components/rendering/src/markdown.rs +++ b/components/rendering/src/markdown.rs @@ -16,7 +16,7 @@ use utils::site::resolve_internal_link; use context::RenderContext; use table_of_contents::{make_table_of_contents, Header, TempHeader}; -const CONTINUE_READING: &str = "

\n"; +const CONTINUE_READING: &str = "

\n"; #[derive(Debug)] pub struct Rendered { diff --git a/components/rendering/tests/markdown.rs b/components/rendering/tests/markdown.rs index 4838b6a0..6149e4f5 100644 --- a/components/rendering/tests/markdown.rs +++ b/components/rendering/tests/markdown.rs @@ -708,7 +708,7 @@ fn can_handle_summaries() { .unwrap(); assert_eq!( res.body, - "

Hello world

\n

\n

Bla bla

\n" + "

Hello world

\n

\n

Bla bla

\n" ); assert_eq!( res.summary_len,