From acc2c22a28d80fcd3281a89014faedeb6b19ca46 Mon Sep 17 00:00:00 2001 From: liquidev Date: Wed, 7 Feb 2024 13:09:51 +0100 Subject: [PATCH] fix noscript tag placement --- crates/treehouse/src/html/tree.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/treehouse/src/html/tree.rs b/crates/treehouse/src/html/tree.rs index 83f8a62..4037f3e 100644 --- a/crates/treehouse/src/html/tree.rs +++ b/crates/treehouse/src/html/tree.rs @@ -122,8 +122,6 @@ pub fn branch_to_html( ); s.push_str(""); markdown::push_html(s, treehouse, config, markdown_parser); - s.push_str(""); - if let Content::Link(link) = &branch.attributes.content { write!( s, @@ -134,6 +132,7 @@ pub fn branch_to_html( ) .unwrap(); } + s.push_str(""); s.push_str(""); {