浏览代码

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

Christian Albrecht 1 年之前
父节点
当前提交
c9790860a5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/html/src/elements.rs

+ 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,
     };