mirror of
https://github.com/davila7/claude-code-templates.git
synced 2026-09-19 01:30:23 +08:00
0f4aaa7217
Static site (docs/js/): - Add escapeHTML() utility to utils.js for sanitizing dynamic content - Apply escapeHTML to component names, descriptions, categories, and install commands in card generation (search-functionality.js, index-events.js) - Replace innerHTML with DOM methods for search category tags Dashboard: - Create shared TypeIcon component using DOMParser for safe SVG rendering (rejects malformed SVG via parsererror check) - Remove all dangerouslySetInnerHTML usage from SearchModal, ComponentGrid, TrendingView, and MyComponentsView - Clean up unused ICONS imports Resolves CLA-23 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
40 KiB
40 KiB