Simplified line break logic: disallowed any nested lists (even empty) on the same line.