I am assuming underneath the hood that a Rich Text is interpreted as a single block of HTML, so the
<style></style> tags will apply to any HTML within the Rich Text.
</span> is a closing tag without an opening tag, which is not valid HTML, but
<span /> is a self closing tag, which is valid. You can do this with some other elements such as
<hr />, etc. (see more here).
So @adriasoce , you’re logic is close but the
<style></style> elements don’t actually go inside the span, it’s just that an HTML style tag is being applied to all elements. E.g. if you had the following:
It would be applied to both span elements.
@Robert_Petitto @Santiago_Perez1 I am curious to hear your thoughts on using HTML in Rich Text elements though. The docs warn against it but at least for styling, it seems very common place.