call br2nl $val=... [;$is_xhtml=...]
If $is_xhtml=0 <br> is also converted