fix: heading and button elements pass children unescaped #113

Merged
will.anderson merged 1 commits from fix/force-full-rebuild into dev 2026-05-11 22:21:45 +00:00
Owner

el_h1/h2/h3/h4 and el_button were calling el_escape() on content, converting HTML children like <span class="gold"> into entity text on screen. Pass children raw, same as el_div/el_p/el_span. Fixes the HTML escaping bug introduced with the new elb build system.

el_h1/h2/h3/h4 and el_button were calling el_escape() on content, converting HTML children like `<span class="gold">` into entity text on screen. Pass children raw, same as el_div/el_p/el_span. Fixes the HTML escaping bug introduced with the new elb build system.
will.anderson added 1 commit 2026-05-11 22:21:33 +00:00
fix: heading and button elements pass children unescaped
Dev — Build & local smoke test / build-smoke (pull_request) Successful in 1m32s
b6bb25e79e
el_h1/h2/h3/h4 and el_button were calling el_escape() on their
content, converting any HTML children (e.g. <span class="gold">)
into literal entity text on screen.

These functions accept composed HTML children, not raw text — they
should pass the argument through like el_div/el_p/el_span do.
el_text, el_attr, el_title, el_textarea, and el_img keep escaping
(they handle actual text/attribute values, not HTML children).
will.anderson merged commit 28f9ecd1a3 into dev 2026-05-11 22:21:45 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: neuron-technologies/neuron-web#113