Skip to content

Replace erubi with stdlib ERB - #58

Merged
pcai merged 2 commits into
mainfrom
chore/stdlib-erb
Sep 14, 2026
Merged

pcai merged 2 commits into
mainfrom
chore/stdlib-erb

Conversation

@pcai

@pcai pcai commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Renders the elevated-shell PowerShell template with stdlib ERB instead of the erubi gem, dropping a runtime dependency.

The template's <%= %> tags only interpolate the username, password, script path, timeouts and a boolean — none of which rely on Erubi's HTML auto-escaping (for credentials with characters like & the escaping was actively wrong for PowerShell). No trim markers or other Erubi-specific syntax in the template, so this is behavior-preserving apart from that fix.

@pcai
pcai merged commit 2fa918c into main Sep 14, 2026
15 checks passed
@pcai
pcai deleted the chore/stdlib-erb branch September 14, 2026 21:34
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