add html_attributes in BytesStart
@@ -93,6 +93,11 @@ impl<'a> BytesStart<'a> {
Attributes::new(self, self.name_len)
}
+ /// gets attributes iterator with html syntax (no mandatory quote or =)
+ pub fn html_attributes(&self) -> Attributes {
+ Attributes::html(self, self.name_len)
+ }
+
/// extend the attributes of this element from an iterator over (key, value) tuples.
/// Key and value can be anything that implements the AsRef<[u8]> trait,
/// like byte slices and strings.
