better handling of <br/> and <hr/>