public string process(string inputFragment) { var document = new TestRig() .WithFixture(this) .ProcessFragment(inputFragment) .GetDocument(); var table = document.query("//table").get(0); return(table.toXML().Replace("\u00A0", " ")); }