frontend: Fix whitespace handling in output

Allow wrapping.