                                </div>
                                \`;
                                console.error('Execution error:', error);
                                
                                // Send error HTML back to parent
                                window.parent.postMessage({
                                    type: 'rendered-html',
                                    html: document.getElementById('app').innerHTML
                                }, '*');
                     