fix(parser): str_join separator '' not ' ' — CSS selectors were emitting spaces #45

Merged
will.anderson merged 1 commits from fix/css-str-join-separator into dev 2026-05-07 23:00:21 +00:00
Owner

Root cause: parse_raw_text_content() and parse_html_text_tokens() were joining token parts with a space separator. This caused CSS class selectors like .founding-badge to emit as . founding - badge, and any multi-token selector or value to break.

Fix: str_join(parts, " ") → str_join(parts, "") in both functions (parser.el:335 and parser.el:365).

This is a two-line change. No logic changes, no behavior changes outside of whitespace handling in raw text content and HTML text nodes.

Root cause: parse_raw_text_content() and parse_html_text_tokens() were joining token parts with a space separator. This caused CSS class selectors like .founding-badge to emit as . founding - badge, and any multi-token selector or value to break. Fix: str_join(parts, " ") → str_join(parts, "") in both functions (parser.el:335 and parser.el:365). This is a two-line change. No logic changes, no behavior changes outside of whitespace handling in raw text content and HTML text nodes.
will.anderson added 1 commit 2026-05-07 20:53:28 +00:00
will.anderson merged commit 00629b39c4 into dev 2026-05-07 23:00:21 +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/el#45