aboutsummaryrefslogtreecommitdiffstats
path: root/src/markups.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/markups.js')
-rw-r--r--src/markups.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/markups.js b/src/markups.js
index 89cc0d05..99e1cca7 100644
--- a/src/markups.js
+++ b/src/markups.js
@@ -38,10 +38,10 @@ angularTextMarkup('{{}}', function(text, textNode, parentElement) {
forEach(parseBindings(text), function(text){
var exp = binding(text);
if (exp) {
- newElement = self.element('span');
+ newElement = jqLite('<span>');
newElement.attr('ng:bind', exp);
} else {
- newElement = self.text(text);
+ newElement = jqLite(document.createTextNode(text));
}
if (msie && text.charAt(0) == ' ') {
newElement = jqLite('<span>&nbsp;</span>');