Skip to content

Handle ejs with loose conditional syntax#1

Merged
prabhu merged 1 commit intomainfrom
fix/ejs-syntax-bug
Jan 5, 2026
Merged

Handle ejs with loose conditional syntax#1
prabhu merged 1 commit intomainfrom
fix/ejs-syntax-bug

Conversation

@prabhu
Copy link
Contributor

@prabhu prabhu commented Jan 5, 2026

Some ejs files could lack braces in conditional statements.

<% if foo %>
    <p>bar</p>
<% end %>

These are now handled to generate valid js files with brackets.

if (foo) {

Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
@prabhu prabhu added the js label Jan 5, 2026
@prabhu prabhu merged commit f657653 into main Jan 5, 2026
1 check passed
@prabhu prabhu deleted the fix/ejs-syntax-bug branch January 5, 2026 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant