Archived
feat: native El HTML templates — remove all HTML string literals #4
Closed
will.anderson
wants to merge 1 commits from
feat/native-el-templates into dev
pull from: feat/native-el-templates
merge into: :dev
:main
:cost-opt/soul-demo-stage-minscale
:copy/two-bill-story
:fix/retire-family-child-plan-pricing
:legal/18plus-terms-privacy-reconcile
:fix/safety-claims-match-shipped-behavior
:feat/downloads-page
:fix/honest-claims-closed-beta
:stage
:dev
:fix/csp-analytics
:fix/syntax-error-and-csp
:fix/devices-count-v2
:fix/devices-count
:fix/account-el-meta
:fix/magic-link-flow
:fix/free-plan-setup-intent
:fix/about-rendering
:fix/stripe-dedup-attestation
:fix/webhook-initstripe-textarea
:fix/greeting-history-load
:fix/question-timer-pricing-clarity
:fix/binary-assets-checkout-layout
:fix/zero-pi-setup-future-usage
:fix/free-plan-payment-intent
:fix/free-checkout-stripe
:fix/stage-full-build
:ci/touch-dist
:ci/trigger-rebuild
:fix/force-full-rebuild
:fix/stage-ci-paths
:feat/checkout-comprehensive-tests
:fix/checkout-auth-reveal
:fix/entrypoint-k3s-nonblocking
:fix/single-stage-dockerfile
:fix/stage-source-check
:fix/payment-page-heredoc-escape
:feat/k3s-embedded-soul
:feat/native-el-ui
:fix/ci-elb
:fix/ci-pr-triggers
:fix/stage-source-enforcement
:sync/dev-stage
:fix/have-curl-define
:fix/soul-demo-emit-metric
:fix/pentest-security-hardening
:fix/gallery-layout-account-otp
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking 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.