SkillPedia Skills Encyclopedia
中文 EN

Skills 2026-04-02 15:54 UTC

better-icons

Committed by hobostay. Update Category: Bug Fixes & Stability Improvements. Commit details: fix: prevent HTML injection in Svelte component generation and remove redundant code (#12). This update resolves known runtime errors and enhances system reliability.

hobostay 033316e better-auth/better-icons

CommitRaw commit message

fix: prevent HTML injection in Svelte component generation and remove redundant code (#12)

- Fix HTML injection vulnerability in generateSvelteComponent where className
  was directly inserted into HTML attributes without escaping quotes
- Remove redundant null check in getIconPrefix (split() always returns string)
- Remove unused existingName field from addIconToFile return type

Co-authored-by: hobostay <hobostay@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>