diff --git a/packages/mrml-core/lib/html-compare/src/lib.rs b/packages/mrml-core/lib/html-compare/src/lib.rs
index 9064c720..ee52f81b 100644
--- a/packages/mrml-core/lib/html-compare/src/lib.rs
+++ b/packages/mrml-core/lib/html-compare/src/lib.rs
@@ -248,7 +248,7 @@ fn compare_elements<'a>(
let ending = compare_attributes(cursor, expected.clone(), generated.clone())?;
if matches!(ending.end, HtmlElementEnd::Open)
- && !["br", "meta"].contains(&expected.local.as_str())
+ && !matches!(expected.local.as_str(), "br" | "meta")
{
compare_all(cursor, &expected.local, expected.span, generated.span)?;
}
diff --git a/packages/mrml-core/resources/compare/success/mj-raw.html b/packages/mrml-core/resources/compare/success/mj-raw.html
index dfcc6cae..ec6061e4 100644
--- a/packages/mrml-core/resources/compare/success/mj-raw.html
+++ b/packages/mrml-core/resources/compare/success/mj-raw.html
@@ -64,10 +64,10 @@
Hello
Something
-
+