shr: replace newline with space in style parsing