Issue importing HTML via file or URL

Hi: I’m trying to import content from HTML to Pressbooks. The import works, but inserts lots of errant line breaks, and inspecting the source once published shows <br /> in almost every line, but which weren’t in the original file. Any thoughts on how to resolve this? Thanks.