Something went wrong. Try again.
ATProto-based AI Assistant Chat interface.
Something went wrong. Try again.
1234567const escapeHtml = (text: string) => text.replace(/[&<>"']/g, (ch) => `&#${ch.charCodeAt(0)};`)
/** Fill the web app's index.html with the configured app name. */export function renderIndexHtml(html: string, appName: string): string { return html.replaceAll('__APP_NAME__', escapeHtml(appName))}