Clone in a terminal:
Commit 8e2d113
Johan Mattsson - 2026-10-13T12:16:56+00:00
8e2d113f3afa4719ec090e0066327684284c911ejohan.mattsson.m@gmail.com

Fix warning

Changed files (2)

Diff

diff --git a/src/htmlquotes.rs b/src/htmlquotes.rsindex cd704d1..d2223f3 100644--- a/src/htmlquotes.rs+++ b/src/htmlquotes.rs@@ -2,7 +2,6 @@ // License: MIT  use quote::quote;-use std::usize;  use crate::htmlcontentbuilder::{ErrType, HtmlError}; use crate::htmllexer::{HtmlDynamicLexer, HtmlToken, TokenType};diff --git a/tests/tag.rs b/tests/tag.rsindex 96bcb29..1232197 100644--- a/tests/tag.rs+++ b/tests/tag.rs@@ -94,6 +94,7 @@ fn test_compiles() {         <p>Lorem Ipsum ... (test)</p>         <p>$("White space is important ... here: Lorem  Ipsum  (test)")</p> +        <p>Also      here</p>         <include child_component_simple_loop() />         <include child_component_expr() /> @@ -125,6 +126,8 @@ fn test_compiles() {     }};      println!("Generated HTML: {:?}", html);++    assert!(html.contains("<p>Also      here</p>"));     assert!(html.contains("<h2>Five Included Components</h2>"));     assert!(html.contains("inline in loop"));     assert!(html.contains("SubTreeComponent: Fruits 1"));

Contact

Email: johan.mattsson.m@gmail.com
Mastodon: typo.social/@birdfont
GitHub: johanmattssonm
LinkedIn: johan-mattsson-2ab324112