Skip to content

fix: escape SVG selector backslashes in generated icons - #12

Merged
phtn merged 1 commit into
mainfrom
fix/code-scanning-alerts
Oct 4, 2026
Merged

phtn merged 1 commit into
mainfrom
fix/code-scanning-alerts

Conversation

@phtn

@phtn phtn commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

Escape every non-identifier character when scoping SVG stylesheet selectors, including literal backslashes. Update the icon generator, generated icon module, table template, and embedded CLI assets together so regeneration and scaffolded projects retain the fix.

Addresses code-scanning alerts #1 and #2.

Validation: all 18 icon tests passed, including a new literal-backslash selector regression; bun run check:ci passed (workspace typechecks, builds, and deployment dry runs). git diff --check passed.

@phtn
phtn merged commit fca20a6 into main Oct 4, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant