Skip to content

Commit

Permalink
Merge pull request #1 from drpeck/U4-8814
Browse files Browse the repository at this point in the history
Children added to HtmlTagWrapper twice
  • Loading branch information
David Peck authored Aug 5, 2016
2 parents aab2c65 + 774f00d commit 7fe7f88
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Umbraco.Web/HtmlHelperRenderExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -883,10 +883,6 @@ public static HtmlTagWrapper Wrap(this HtmlHelper html, bool visible, string tag
{
var item = html.Wrap(tag, innerText, anonymousAttributes, children);
item.Visible = visible;
foreach (var child in children)
{
item.AddChild(child);
}
return item;
}

Expand Down

0 comments on commit 7fe7f88

Please sign in to comment.