1
0
Эх сурвалжийг харах

fixed "http_equiv" in meta to generate "http-equiv" instead of "http_equiv" (#1277)

Christian Albrecht 1 жил өмнө
parent
commit
c9790860a5

+ 1 - 1
packages/html/src/elements.rs

@@ -332,7 +332,7 @@ builder_constructors! {
     meta None {
         charset: String DEFAULT, // FIXME IANA standard names
         content: String DEFAULT,
-        http_equiv: HTTPEquiv DEFAULT,
+        http_equiv: String "http-equiv",
         name: Metadata DEFAULT,
     };