HTML Node - Convert to HTML Table Problems

Hello.

From the HTML Node > Operation: Convert to HTML Table, the styling attributes are broken.

For example. If you use this node to generate a table without any custom attributes, the default HTML code for the Table Attributes is:

<table style='border-spacing:0; font-family:helvetica,arial,sans-serif' >

If you try to add a style of background-color: red

image

the HTML ouput will be:

<table style='border-spacing:0; font-family:helvetica,arial,sans-serif' style="background-color: red">

Clearly this is wrong and not valid. Also if you try to add the background-color without the style=" option, the output HTML code will be:

image

<table style='border-spacing:0; font-family:helvetica,arial,sans-serif' background-color: red>

This is also wrong HTML code.

The HTML node must add the options inside the already defined table style attributes. So the above example code to be working properly should be:

<table style='border-spacing:0; font-family:helvetica,arial,sans-serif; background-color: red'>

Please fix this.

Hi @Mulen
have you tried using the Custom Styling option?
That option is intended for your use case and will remove the default table style.

Here’s a demo workflow:

Let me know if that helps
Best

3 Likes

Cool Thanks. Totally missed it. I thought by adding only the attributes would have append them to the already style element of the table

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.