Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inline template followed by extend block is visible #170

Open
darnocian opened this issue Feb 19, 2024 · 0 comments
Open

Inline template followed by extend block is visible #170

darnocian opened this issue Feb 19, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@darnocian
Copy link
Collaborator

darnocian commented Feb 19, 2024

<% template 'parent' %>
     <% block 'content %> 
         Test
     <% end %>
<% end %>

<% extends 'parent' %>     
    <% block 'content %> 
         override test
     <% end %>
<% end %>

Both 'test' and 'override test' is shown... only 'override test' should be shown.
This appears to be an issue with inline templates as external templates are fine.

@darnocian darnocian added the bug Something isn't working label Feb 19, 2024
@darnocian darnocian self-assigned this Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant