fix pasting divs on Chrome

Chrome pastes in lines surrounded with in <div>, which causes problems
since we don't allow them. Replace <div> with <br>.