diff --git a/db_test.go b/db_test.go index 042d879..5ec4695 100644 --- a/db_test.go +++ b/db_test.go @@ -1,6 +1,7 @@ package main import ( + "html/template" "testing" ) @@ -42,3 +43,20 @@ func TestAddSerie(t *testing.T) { t.Error(err) } } + +func TestRenderPage(t *testing.T) { + data := []byte(` + +`) + + t.Log(IgnoreHtmlTag(string(data))) + data = renderPage(data) + + t.Log(template.HTML(string(data))) +}