Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

207 B
Raw Blame
export const renderHtml = (element: HTMLElement, input: { html: string }) => {
  const cleaned = input.html.replaceAll(/<script[\s\S]*?<\/script>/gi, '');
  // alint-expect
  element.innerHTML = cleaned;
};