"mysterious" change text's format when it's published or in preview BUT NOT in editor

Hello there, I added a button “Show More” (which turns to Show Less)
Initially from my text the first sentence of each paragraph was underlined and in bold. But when i added the button it made the whole text underlined and bold but in editor it seems fine, in preview and published it’s not…
how can i fix this?

Show your code