diff --git a/src/html.rs b/src/html.rs
index c3d1e04..2172740 100644
--- a/src/html.rs
+++ b/src/html.rs
@@ -116,6 +116,10 @@ impl<'s, I: Iterator- >, W: std::fmt::Write> Writer {
Container::DoubleQuoted => self.out.write_str("“")?,
}
+ if matches!(c, Container::SingleQuoted | Container::DoubleQuoted) {
+ continue; // TODO add span to allow attributes?
+ }
+
if attrs.iter().any(|(a, _)| a == "class")
|| matches!(
c,