diff --git a/docs/annotated/modules/templateRenderer.html b/docs/annotated/modules/templateRenderer.html
index bc3fde61..39a9d09a 100644
--- a/docs/annotated/modules/templateRenderer.html
+++ b/docs/annotated/modules/templateRenderer.html
@@ -304,14 +304,14 @@
currentAttributes = currentNode.attributes;
+ var prevLength = currentAttributes.length;
while (idx < currentAttributes.length) {
currentAttr = currentAttributes[idx].name;
if (newNode.getAttribute(currentAttr)) {
idx++;
} else {
currentNode.removeAttribute(currentAttr);
- }
- }
+ bail since we can’t remove the attribute.
+
+
+
+ $currentNode.replaceWith(newNode);
+ return;
+ }
+ prevLength = currentAttributes.length;
+ }
+ }
+
+
+
+
+