on master help sign in
xmlns starts_with
commit0e3fb15230111097db125011f9be2a8b9764e774 authorRyan Levick <ryan.levick@gmail.com> dateTue 19 Mar 2019, 23:39 (8 years ago) parent8b4eafc
1 file changed+1−1
src/vdom.rs+1−1
src/vdom.rs+1−1
@@ -478,7 +478,7 @@ impl VdomInnerExclusive {
478478 self.change_list.emit_new_event_listener(l);
479479 }
480480 for attr in attributes {
481− if namespace.is_none() || attr.name == "xmlns" {
481+ if namespace.is_none() || attr.name.starts_with("xmlns") {
482482 self.change_list.emit_set_attribute(&attr.name, &attr.value);
483483 } else {
484484 self.change_list