diff options
Diffstat (limited to 'src/Angular.js')
| -rw-r--r-- | src/Angular.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Angular.js b/src/Angular.js index 3f9938f1..7ab0e7f6 100644 --- a/src/Angular.js +++ b/src/Angular.js @@ -742,7 +742,7 @@ function startingTag(element) { // are not allowed to have children. So we just ignore it. element.html(''); } catch(e) {}; - return jqLite('<div>').append(element).html().replace(/\<\/[\w\:\-]+\>$/, ''); + return jqLite('<div>').append(element).html().match(/^(<[^>]+>)/)[1]; } |
