Skip to content

Instantly share code, notes, and snippets.

View jglinsek's full-sized avatar

James Glinsek jglinsek

View GitHub Profile
@jglinsek
jglinsek / gist:dab7f950a3054cf97301
Created October 17, 2014 04:29
AngleSharp - clone an element, append it somewhere - the cloned element has a parent but all of it's children do not
public void replace_the_parent_with_a_clone_and_the_children_of_the_cloned_parent_should_have_a_parent()
{
const string html = @"
<html>
<body>
<div class='parent'>
<div class='child'>
</div>
</div>
</body>