Skip to content

Commit

Permalink
removing HtmlDocument.ToCompacted because it's no longer different fr…
Browse files Browse the repository at this point in the history
…om ToString
  • Loading branch information
Sharon Cichelli committed May 20, 2011
1 parent db68435 commit 0f71752
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions src/HtmlTags.Testing/HtmlDocumentTester.cs
Expand Up @@ -83,12 +83,6 @@ public void check_the_basic_structure_with_title_body_and_head()
"<html xmlns=\"http://www.w3.org/1999/xhtml\"><head><title>the title</title></head><body></body></html>");
}

[Test]
public void to_compacted_returns_the_html_string()
{
document.ToCompacted().ShouldEqual(document.ToString());
}

[Test]
public void add_javascript()
{
Expand Down
6 changes: 0 additions & 6 deletions src/HtmlTags/HtmlDocument.cs
Expand Up @@ -134,12 +134,6 @@ public void Pop()
}
}

public string ToCompacted()
{
var returnValue = DocType + Environment.NewLine + _top;
return substitute(returnValue);
}

private string substitute(string value)
{
foreach (var alteration in _alterations)
Expand Down

0 comments on commit 0f71752

Please sign in to comment.