From 27254eecc69ca4b8e64d0401216ccaac406fef7d Mon Sep 17 00:00:00 2001 From: Ameyanagi <77273474+Ameyanagi@users.noreply.github.com> Date: Thu, 18 Jan 2024 17:13:55 -0500 Subject: [PATCH] added annotation-xml --- packages/html/src/elements.rs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/packages/html/src/elements.rs b/packages/html/src/elements.rs index 4121fe154..2e54d452f 100644 --- a/packages/html/src/elements.rs +++ b/packages/html/src/elements.rs @@ -1750,12 +1750,16 @@ builder_constructors! { /// Build a /// [``](https://w3c.github.io/mathml-core/#dfn-annotation) /// element. - annotation "http://www.w3.org/1998/Math/MathML" {}; + annotation "http://www.w3.org/1998/Math/MathML" { + encoding: String DEFAULT, + }; /// Build a /// [``](https://w3c.github.io/mathml-core/#dfn-annotation-xml) /// 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 /// [``](https://developer.mozilla.org/en-US/docs/Web/MathML/Element/merror) @@ -1933,7 +1937,7 @@ builder_constructors! { /// Build a /// [``](https://developer.mozilla.org/en-US/docs/Web/MathML/Element/semantics) /// element. - symantics "http://www.w3.org/1998/Math/MathML" { + semantics "http://www.w3.org/1998/Math/MathML" { encoding: String DEFAULT, }; }