Skip to content

Commit

Permalink
Merge pull request #1998 from montagejs/bugs/html-fragment-attributes
Browse files Browse the repository at this point in the history
Fix HtmlFragment attribute removal
  • Loading branch information
marchant authored Oct 11, 2018
2 parents a0ed35d + 58c39f7 commit 6572c62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/html-fragment.reel/html-fragment.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ var HtmlFragment = exports.HtmlFragment = Component.specialize(/** @lends HtmlFr
l--;
} else {
childAttributes = child.attributes;
shouldRemoveAttribute = false;
allowedAttributesForTag = allowedAttributes[childTagName] ||
allowedAttributes['*'];

for (ii = 0, ll = childAttributes.length; ii < ll; ii++) {
shouldRemoveAttribute = false;
attribute = childAttributes[ii];
attributeName = attribute.name;
attributeValue = attribute.value;
Expand Down

0 comments on commit 6572c62

Please sign in to comment.