Show More Button with Rich Text

I have inserted the code for a show more-less button on a dynamic page with the text box linked to a rich text field in a dataset. We need to use rich text because we require formatting such as paragraphs (the text field will only allow text with no formatting at all). However, the button code returns all characters, even formatting code. Is there a way to fix this? I am assuming there is a character request that distinguishes between characters returned such that we get actual text, without formatting characters.

https://www.wix.com/corvid/forum/main/comment/5d38ab84b70dc6007513140e