adding a 'normalize_br_tags' function