I’m creating HTML using the AI Agent, that I pass to HTML node to add tags. Viewed in the HTML node the HTML follows the style
THis is then sent to the Form (form end) node. The output is rendered at HTML but the styling is lost.
I’m creating HTML using the AI Agent, that I pass to HTML node to add tags. Viewed in the HTML node the HTML follows the style
It looks like you have a few issues with the generated HTML.
{{ $json.output.substring(3, $json.output.length-3) }}
<body>
tag....snip...
</head>
<body>
{{ $json.output }}
</div>
</body>
</html>
… results in:...snip...
</head>
<body>
```<html>
...other generated content...
</html>```
</div> <!-- <<----- stray tag??? -->
</body>
</html>
</div>
tag in the static part of your html node. That could be messing up the html parsing/display too.