mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Update canonicalizeHtml list of DOMRange/DOMBackend element properties.
Fixes "ui hooks - nested domrange" test in IE8.
This commit is contained in:
@@ -23,7 +23,9 @@ canonicalizeHtml = function(html) {
|
||||
attrs = attrs.replace(/jQuery[0-9]+="[0-9]+"/g, ' ');
|
||||
// Similarly for expando properties used to DOMBackend to keep
|
||||
// track of callbacks to fire when an element is removed
|
||||
attrs = attrs.replace(/\$meteor_ui_removal_callbacks="[^"]*"/g, ' ');
|
||||
attrs = attrs.replace(/\$blaze_teardown_callbacks="[^"]*"/g, ' ');
|
||||
// And by DOMRange to keep track of the element's DOMRange
|
||||
attrs = attrs.replace(/\$blaze_range="[^"]*"/g, ' ');
|
||||
|
||||
attrs = attrs.replace(/\s*=\s*/g, '=');
|
||||
attrs = attrs.replace(/^\s+/g, '');
|
||||
|
||||
Reference in New Issue
Block a user