perl regular expression new lines
===

Code comes like

        <dt> Some
                         text</dt>
        <dd>some value</dd>

I would like to be able to remove only the new lines not finishing with an html tag.

How can I do that?

Thanks in advance