Skip to content

Commit

Permalink
Update source
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanMagnan committed Feb 3, 2022
1 parent 127fe37 commit d0dbd83
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/HtmlAgilityPack.Shared/HtmlAttributeCollection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public void AddRange(Dictionary<string, string> items)
/// </summary>
void ICollection<HtmlAttribute>.Clear()
{
items.Clear();
Clear();
}

/// <summary>
Expand Down Expand Up @@ -230,7 +230,8 @@ public void Insert(int index, HtmlAttribute item)
/// <returns></returns>
bool ICollection<HtmlAttribute>.Remove(HtmlAttribute item)
{
return items.Remove(item);
Remove(item);
return true;
}

/// <summary>
Expand Down

0 comments on commit d0dbd83

Please sign in to comment.