feat: native El HTML templates — remove all HTML string literals #4
Reference in New Issue
Block a user
Delete Branch "feat/native-el-templates"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
return "..."string wrappers and\"escape sequences+ variable +interpolations with{expr}/{raw(expr)}in template position+ (if ...) +concatenation chains with{#if}...{#else}...{/if}blocks{raw(...)}No functional changes — output is byte-identical. This is a pure syntax migration.
Files
All 24
src/*.elfiles converted.src/viral.elskipped (returns"").src/js/*.eluntouched (compile to JavaScript).Test plan
el runbuilds without errors//share/<id>) renders correctly/said) renders correctly/checkout) renders correctly/account) renders correctlyReplace all return "..." HTML string literals with native El templates — removes all \" escapes, converts + interpolations to {expr}/{raw(expr)}, and replaces conditional string concatenation with {#if}/{#else}/{/if}. No functional changes; output is identical.Pull request closed