"Style" attribute not rendering when allowing HTML


Hi all,

I want to display a gallery of blocks (spans) as a result of my query in a table. When I visualize the output text, I can see the style="display:inline-block;" attribute that I added to my spans or any other style attribute I would add, but as soon as I allow HTML content, my spans are not displayed in the same line and the style attributes disappear from the source code.

Any idea on how to add CSS to the HTML code?

Thank you!