// markup-spelling: old-spelling begin — the before/after table. package markup import ( "regexp" "strings" "testing" ) // TestTheGrammar pins the translation itself: kind, part, variant, // part-with-variant, tone, and the things that must NOT move — a // utility class, an app's own class, and the data-* attributes that // carry runtime state rather than authored vocabulary. func TestTheGrammar(t *testing.T) { for _, c := range []struct{ in, want string }{ // Kinds, parts, variants. {`