Fix about page: restore raw string syntax to fix El tokenizer rendering #140
Reference in New Issue
Block a user
Delete Branch "fix/about-rendering"
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?
Problem
The El HTML template parser (
return { }syntax) mangles text content:"I grew up in Fort Smith"→"IgrewupinFortSmith"&from HTML entities:'→39;,©→copy;aria-label→aria - labelThis was introduced in commit
5cb13d6forabout.el. All other component files were already fixed by2553a6b(which converted them to theextern fn el_*()function style).about.elwas the only page still using the broken template syntax — confirmed bygrep -l "return {" src/*.el.Fix
Restore
about.eltoreturn nav() + "..."raw string syntax, which the El compiler emits verbatim without tokenization.Scope
Single file change:
src/about.el. No logic changes. No other files affected.The El HTML template parser (native { } syntax introduced in5cb13d6) strips spaces from text nodes, drops & from HTML entities (' → 39;), and breaks hyphenated attribute names (aria-label → aria - label). All other component files were already converted to the extern el_*() function style in2553a6bwhich is immune to this issue. about.el was the only page still using the broken template syntax. Restoring the raw string return style fixes all rendering defects on /about.