Hi.
I know this has been asked before and I've tried pretty much everything I can find.
I have converted HTML to text and then replaced most of the line breaks left.
I am left with some double line breaks see below and I just can't replace these, something to do with the character showing as a yellow box is my assumption.

My code to replace is:
replace(outputs('Compose_-_Format_Email_Text_for_Receipt_Email'),'<br> <br>','<br>')
But this just doesn't seem to recognise the '<br> <br>'
I've tried the replace using %0A %0D variations also as per another replace statement earlier on in the flow.
replace(outputs('Compose_-_Build_Email_Preview'),decodeUriComponent('%0A%0A'), decodeUriComponent('%0A'))
Any genius ideas out there?