Skip to content

Conversation

@shgysk8zer0
Copy link
Member

Replaces template files with new HTML and DOM attribute escaping utilities. Adds html.js with escapeHTML, escapeAttrName, and stringifyAttr functions, along with corresponding tests. Updates package metadata, README, and exports. Removes template-specific files and references.

Description and issue

Please add relevant sections (Added, removed, changed, fixed) to CHANGELOG.md

List of significant changes made

Replaces template files with new HTML and DOM attribute escaping utilities. Adds `html.js` with `escapeHTML`, `escapeAttrName`, and `stringifyAttr` functions, along with corresponding tests. Updates package metadata, README, and exports. Removes template-specific files and references.
@shgysk8zer0 shgysk8zer0 self-assigned this Jan 5, 2026
@shgysk8zer0 shgysk8zer0 marked this pull request as draft January 5, 2026 20:03
Introduces escapeCSS for safely escaping strings for CSS selectors, with a native/polyfill implementation. Updates index.js to export escapeCSS, adds package.json and rollup.config.js entries for the new module.
@shgysk8zer0 shgysk8zer0 marked this pull request as ready for review January 5, 2026 20:11
@shgysk8zer0 shgysk8zer0 merged commit 63e0c01 into master Jan 5, 2026
4 checks passed
@shgysk8zer0 shgysk8zer0 deleted the patch/initial branch January 5, 2026 20:13
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.

2 participants