diff options
| author | Misko Hevery | 2010-04-22 17:11:56 -0700 |
|---|---|---|
| committer | Misko Hevery | 2010-04-22 17:11:56 -0700 |
| commit | fe434307d15d697a5ffade51bad068f6443965b2 (patch) | |
| tree | 64ca5ea2afee38d79ac973ffad4bf6902d6449a6 /src/filters.js | |
| parent | 2a9669e1d853d4e18d2eb1f07e84ee5baec838c2 (diff) | |
| download | angular.js-fe434307d15d697a5ffade51bad068f6443965b2.tar.bz2 | |
tests work under jquery and without
Diffstat (limited to 'src/filters.js')
| -rw-r--r-- | src/filters.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/filters.js b/src/filters.js index 74013db1..a911b935 100644 --- a/src/filters.js +++ b/src/filters.js @@ -269,9 +269,7 @@ foreach({ }, 'html': function(html){ - var div = jqLite('div'); - div.html(html); - return div.children(); + return new HTML(html); }, 'linky': function(text){ @@ -293,7 +291,7 @@ foreach({ raw = raw.substring(i + url.length); } html.push(escapeHtml(raw)); - return jqLite(html.join('')); + return new HTML(html.join('')); } }, function(v,k){angularFilter[k] = v;}); |
