Ispell expects to get its input one word per line. The ispell filter, which is specified by the variables ispell-filter-hook and ispell-filter-hook-args, should output at most one word per line.