aboutsummaryrefslogtreecommitdiffstats
path: root/src/markups.js
diff options
context:
space:
mode:
authorMisko Hevery2010-10-12 21:52:04 -0700
committerMisko Hevery2010-10-12 21:52:04 -0700
commit2cb9497d02afdcfc19ea52fddcd6d1f04d81ffdb (patch)
tree710de45537aa44509bb4064401f1f1592d8b48af /src/markups.js
parentd9abfe8a7e488be8725f56077527b16f7c79546a (diff)
downloadangular.js-2cb9497d02afdcfc19ea52fddcd6d1f04d81ffdb.tar.bz2
Fixed issue where compiler would pass in detached text node if previous markup would have removed it.
Diffstat (limited to 'src/markups.js')
-rw-r--r--src/markups.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/markups.js b/src/markups.js
index f63dd146..159d7b12 100644
--- a/src/markups.js
+++ b/src/markups.js
@@ -52,8 +52,8 @@ angularTextMarkup('{{}}', function(text, textNode, parentElement) {
cursor.after(newElement);
cursor = newElement;
});
+ textNode.remove();
}
- textNode.remove();
}
});