I am displaying HTML saved by the rich text editor in a literal dialog message, but it’s adding <br> tags which aren’t in the original HTML.
Has anyone else noticed this? Is there a way to prevent it?
I am displaying HTML saved by the rich text editor in a literal dialog message, but it’s adding <br> tags which aren’t in the original HTML.
Has anyone else noticed this? Is there a way to prevent it?
It looks like this may be a documented considerations:
Thanks for that. Of interest, the HTML saved, does not include <br> tags, which is good but I still get <br> tags added to the dialog box.
This is hacky but it works. I added a transfer data to a literal, as an “and” rule with Show a message. Basically clears the br tags 50 milliseconds after loading.
<script>setTimeout(()=>{let element = document.querySelectorAll(".message br"); for (index = element.length - 1; index >= 0; index--) {elementmindex].parentNode.removeChild(elementmindex])}},50)</script>
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.