package converter import ( "testing" "github.com/stretchr/testify/assert" ) func TestHtmlReadability(t *testing.T) { tests := []struct { name string html string expected string }{ { name: "Empty HTML", html: "", expected: "", }, { name: "HTML with text", html: "
Hello World
", expected: "Hello World", }, { name: "HTML with nested tags", html: "Hello
World
Hello
World