br should be replaced with two spaces and newline

Updated tests