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

One-line if with only false condition crashes #626

Closed
kethinov opened this issue Sep 10, 2023 · 0 comments · Fixed by #646
Closed

One-line if with only false condition crashes #626

kethinov opened this issue Sep 10, 2023 · 0 comments · Fixed by #646
Assignees
Labels

Comments

@kethinov
Copy link
Member

Works: <body if-nonjs true="" false="class='no-js'">

Doesn't work: <body if-nonjs false="class='no-js'">

Possibly only when passed via <include> arg:

<include src="layouts/main">
  <arg nonjs>true</arg>
@kethinov kethinov added the bug label Sep 10, 2023
@kethinov kethinov self-assigned this Sep 10, 2023
kethinov added a commit to kethinov/teddy that referenced this issue Jan 3, 2024
@kethinov kethinov mentioned this issue Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

1 participant