Browse Source

added annotation-xml

Ameyanagi 1 year ago
parent
commit
27254eecc6
1 changed files with 7 additions and 3 deletions
  1. 7 3
      packages/html/src/elements.rs

+ 7 - 3
packages/html/src/elements.rs

@@ -1750,12 +1750,16 @@ builder_constructors! {
     /// Build a
     /// Build a
     /// [`<annotation>`](https://w3c.github.io/mathml-core/#dfn-annotation)
     /// [`<annotation>`](https://w3c.github.io/mathml-core/#dfn-annotation)
     /// element.
     /// element.
-    annotation "http://www.w3.org/1998/Math/MathML" {};
+    annotation "http://www.w3.org/1998/Math/MathML" {
+            encoding: String DEFAULT,
+    };
 
 
     /// Build a
     /// Build a
     /// [`<annotation-xml>`](https://w3c.github.io/mathml-core/#dfn-annotation-xml)
     /// [`<annotation-xml>`](https://w3c.github.io/mathml-core/#dfn-annotation-xml)
     /// element.
     /// element.
-    annotation_xml ["annotation-xml", "http://www.w3.org/1998/Math/MathML"] {};
+    annotationXml ["annotation-xml", "http://www.w3.org/1998/Math/MathML"] {
+            encoding: String DEFAULT,
+    };
 
 
     /// Build a
     /// Build a
     /// [`<merror>`](https://developer.mozilla.org/en-US/docs/Web/MathML/Element/merror)
     /// [`<merror>`](https://developer.mozilla.org/en-US/docs/Web/MathML/Element/merror)
@@ -1933,7 +1937,7 @@ builder_constructors! {
     /// Build a
     /// Build a
     /// [`<semantics>`](https://developer.mozilla.org/en-US/docs/Web/MathML/Element/semantics)
     /// [`<semantics>`](https://developer.mozilla.org/en-US/docs/Web/MathML/Element/semantics)
     /// element.
     /// element.
-    symantics "http://www.w3.org/1998/Math/MathML" {
+    semantics "http://www.w3.org/1998/Math/MathML" {
         encoding: String DEFAULT,
         encoding: String DEFAULT,
     };
     };
 }
 }