Strip newlines from rendered html