Tweak to strip newlines out of debug textareas