Describe the problem/error/question
generateHtmlTemplate node renders HTML content properly, somewhere between there and the binary creation it loses the formatting and is viewed as straight text instead of rendered HTML elements.
No error Messages
Please share your workflow
Heres the outputted HTML
<html><head><meta charset="utf-8"/><title>SheetJS Table Export</title></head><body><table><tr><td data-t="s" data-v="html" id="sjs-A1">html</td></tr><tr><td data-t="s" data-v="<html><br/><head><br/> <meta charset="UTF-8" /><br/> <title>My HTML document</title><br/></head><br/><body><br/> <div class="container"><br/> <h1>This is an H1 heading</h1><br/> <h2>This is an H2 heading</h2><br/> <p>This is a paragraph</p><br/> </div><br/></body><br/></html><br/><br/><style><br/>.container {<br/> background-color: #ffffff;<br/> text-align: center;<br/> padding: 16px;<br/> border-radius: 8px;<br/>}<br/><br/>h1 {<br/> color: #ff6d5a;<br/> font-size: 24px;<br/> font-weight: bold;<br/> padding: 8px;<br/>}<br/><br/>h2 {<br/> color: #909399;<br/> font-size: 18px;<br/> font-weight: bold;<br/> padding: 8px;<br/>}<br/></style>" id="sjs-A2"><html><br/><head><br/> <meta charset="UTF-8" /><br/> <title>My HTML document</title><br/></head><br/><body><br/> <div class="container"><br/> <h1>This is an H1 heading</h1><br/> <h2>This is an H2 heading</h2><br/> <p>This is a paragraph</p><br/> </div><br/></body><br/></html><br/><br/><style><br/>.container {<br/> background-color: #ffffff;<br/> text-align: center;<br/> padding: 16px;<br/> border-radius: 8px;<br/>}<br/><br/>h1 {<br/> color: #ff6d5a;<br/> font-size: 24px;<br/> font-weight: bold;<br/> padding: 8px;<br/>}<br/><br/>h2 {<br/> color: #909399;<br/> font-size: 18px;<br/> font-weight: bold;<br/> padding: 8px;<br/>}<br/></style></td></tr></table></body></html>
Information on your n8n setup
n8n running in docker on VPS behind traefik proxy. n8n is 1.94.1