@@ -175,19 +175,20 @@ impl Reconcilable for VTag {
175175 match bundle {
176176 // If the ancestor is a tag of the same type, don't recreate, keep the
177177 // old tag and update its attributes and children.
178- BNode :: Tag ( ex) if self . key == ex. key => {
179- if match ( & self . inner , & ex. inner ) {
180- ( VTagInner :: Input ( _) , BTagInner :: Input ( _) ) => true ,
181- ( VTagInner :: Textarea { .. } , BTagInner :: Textarea { .. } ) => true ,
182- ( VTagInner :: Other { tag : l, .. } , BTagInner :: Other { tag : r, .. } )
183- if l == r =>
184- {
185- true
186- }
187- _ => false ,
188- } {
189- return self . reconcile ( root, parent_scope, parent, slot, ex. deref_mut ( ) ) ;
190- }
178+ BNode :: Tag ( ex)
179+ if self . key == ex. key
180+ && match ( & self . inner , & ex. inner ) {
181+ ( VTagInner :: Input ( _) , BTagInner :: Input ( _) ) => true ,
182+ ( VTagInner :: Textarea { .. } , BTagInner :: Textarea { .. } ) => true ,
183+ ( VTagInner :: Other { tag : l, .. } , BTagInner :: Other { tag : r, .. } )
184+ if l == r =>
185+ {
186+ true
187+ }
188+ _ => false ,
189+ } =>
190+ {
191+ return self . reconcile ( root, parent_scope, parent, slot, ex. deref_mut ( ) ) ;
191192 }
192193 _ => { }
193194 } ;
0 commit comments