treat <br> like newline when making replacements