Repository navigation
Security
- Fix XSS:
#{...}interpolation output was not HTML-escaped in text and attribute values (GHSA-7fgh-h7wv-pc8m). Thanks to @ucsurf for the report.
Breaking change
#{...} is now HTML-escaped, matching Ruby Slim. If you relied on #{...} to output raw HTML, use #{{...}} instead.
Features
- Conditionals and comparison/logical operators
define/yieldandSetLayoutfor layouts, matching Ruby Slim conventionsParseFSforembed.FS- Wrapped attribute syntax with parentheses
- Whitespace control with
>and< - Explicit self-closing tags with
/ goslimCLI: file input, layout, and JSON values
Fixes
- Attributes after ID/class shortcuts
- Channel iteration index is now 0-based
- Integer division by zero panic in the VM
- Float parse errors were silently ignored
- Function type check before calling in the VM