How do I copy with only direct formatting?

I’m copying my text to a blog platform and the default styles are carrying over as well. Even opening up a blank Writer file and typing a paragraph with no formatting selected, pasting it still adds

style="line-height: 100%; margin-bottom: 0in;"

to the HTML, which ruins the formatting of the blog. Other files are even worse.

Pasting as unformatted text or Clear Formatting before copying is not ideal as I still need direct formatting (such as bolded or italicized words) to carry over.

Any attempts to change the styles directly are undone if I exit and restart the program.