Displaying HTML with CSS

Hi everyone!

I’m trying to display nicely formatted HTML with CSS in my n8n workflow results. My workflow uses an HTML node to generate content with <style> tags, which is then passed to a Form node with “Show Text” response.

However, I’ve discovered that the Form node strips out or ignores all CSS styling - it only displays the raw HTML structure without any styling.
I also tried to convert everything to inline styles with style="..." attributes but that did not work either.

Is there a way to make the Form node respect CSS styling? Or is there another approach within n8n that would allow me to display styled results without resorting to external hosting?

Here is an example workflow where I pinned the dummy output on the “cleanup” node:

I am running on self-hosted 1.82. :slight_smile:
Any suggestions or workarounds would be greatly appreciated!

Thank you,
Cheers,

The form node will get css support soon, see last week’s livestream:

1 Like

I’m having the same problem. I use an HTML note to add tag in the header with styles for body h1, h2 etc. This is passed to a Form Ending node to show the text but the tag is removed. THe new feature from the video seems to be aimed at formatting the Form not displaying HTML in the Form Ending / Show Text

When is it going to be live?

This is already available in the ‘options’ for the form:

2 Likes

I did not see! Thank you :smiley: