Skip to content

Strip EEx comments in parser when compiling templates#4150

Merged
SteffenDE merged 1 commit intomainfrom
sd-issue-4144
Feb 20, 2026
Merged

Strip EEx comments in parser when compiling templates#4150
SteffenDE merged 1 commit intomainfrom
sd-issue-4144

Conversation

@SteffenDE
Copy link
Copy Markdown
Collaborator

Fixes #4144.

When we simplified root tracking in #4125, we did not account for EEx comments (<%!-- ... --%>). Since those are just ignored in the compiler, we can already omit them at the tokenizer level.

Fixes #4144.

When we simplified root tracking in #4125, we did not account for
EEx comments (<%!-- ... --%>). Since those are just ignored in the
compiler, we can already omit them at the tokenizer level.
@SteffenDE SteffenDE merged commit 626dba7 into main Feb 20, 2026
15 of 16 checks passed
@SteffenDE SteffenDE deleted the sd-issue-4144 branch February 20, 2026 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Live components: A html comment before the first static html element gives an error

1 participant