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

Optional HTML container parsing for if-else-endif type code #53

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

sanchit-mathew
Copy link

@sanchit-mathew sanchit-mathew commented Feb 5, 2021

Handles the case:

{% if a %}
  <div>
{% else %}
  <div>
{% endif %}
foo
</div>

Solves partially the issue described in #14

Please let me know if any issues

@thibaudcolas thibaudcolas added this to the v0.14.0 milestone Apr 25, 2021
@jkevingutierrez
Copy link

It would be great to have this PR merged!

jgehrcke added a commit to conbench/conbench that referenced this pull request Apr 16, 2023
jgehrcke added a commit to conbench/conbench that referenced this pull request Apr 17, 2023
…nt errors (#1121)

* jinja2 templates: reformat with djlint


djlint . --extension=html.j2 --reformat conbench/templates/*html

no other action taken

* fix: one <table> too much

* fix: set active, not different div

this relates to
thibaudcolas/curlylint#53
thibaudcolas/curlylint#14

* fix: td element

* fix up compare-entity.html

* fix input tag (must not be closed)

* fix attribute quoting

* keep removing the unit tooltip contents

* fix setting 'active'

* fix: remove closing input

* fix: simplify msg

* fix: set 'active' in loop

* reformat again after fixes

* re-indent with djhtml -t 2 conbench/templates/*html

* reformat with

djlint . --extension=html.j2 --reformat --indent=2 conbench/templates/*html

* ci: add curlylint and djlint

* remove HTML comment
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.

None yet

3 participants