We wanted to prevent any newlines and breaks, so we need to strip them in some sort of similar fashion here.