/** * UI utilities for sandbox violations * These utilities are used for displaying sandbox-related information in the UI */ /** * Remove tags from text * Used to clean up error messages for display purposes */ export function removeSandboxViolationTags(text: string): string { return text.replace(/[\s\S]*?<\/sandbox_violations>/g, '') }