Repository navigation
v0.1.6
Changes
Bug Fixes
- ID/IDTarget functions now support plain strings: Plain strings passed to
ID()andIDTarget()are returned as-is, giving users full control over the returned valueID(ctx, "body")→"body"IDTarget(ctx, "#my-id")→"#my-id"- Fixes panics when passing string variables to these functions
Improvements
- Added comprehensive test coverage for string handling (98% overall coverage)
- Updated documentation with clearer parameter descriptions
- Better error messages for unsupported types
Breaking Changes
None - this is a bug fix that maintains backward compatibility with existing code.