package classes
import "testing"
func TestCheckHTML(t *testing.T) {
cases := []struct {
name string
in string
ok bool
}{
{"empty", "", true},
{"heading and link", `
Cordyceps
Plain link
`, true},
{"table", ``, true},
{"script", ``, false},
{"iframe", ``, false},
{"object", `