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

style: Indent HTML templates with djhtml #601

Merged
merged 4 commits into from
Jan 17, 2024
Merged

style: Indent HTML templates with djhtml #601

merged 4 commits into from
Jan 17, 2024

Conversation

pnu-s
Copy link
Member

@pnu-s pnu-s commented Jan 16, 2024

No description provided.

exodus/trackers/templates/trackers_list.html Fixed Show fixed Hide fixed
exodus/trackers/templates/trackers_list.html Fixed Show fixed Hide fixed
exodus/analysis_query/templates/query_submit.html Dismissed Show dismissed Hide dismissed
<hr>
{% if not handle %}
<select class="custom-select"
onchange="this.options[this.selectedIndex].value && (window.location = '/{{ LANGUAGE_CODE }}/reports/list' + this.options[this.selectedIndex].value);">

Check warning

Code scanning / CodeQL

DOM text reinterpreted as HTML Medium

DOM text
is reinterpreted as HTML without escaping meta-characters.
<div class="col-xl-4 col-lg-5 col-md-8 col-12 mb-2">
{% trans "Sorted by" %}&nbsp;
<select class="custom-select"
onchange="this.options[this.selectedIndex].value && (window.location = '/{{ LANGUAGE_CODE }}/trackers/' + this.options[this.selectedIndex].value);">

Check warning

Code scanning / CodeQL

DOM text reinterpreted as HTML Medium

DOM text
is reinterpreted as HTML without escaping meta-characters.
exodus/analysis_query/templates/query_submit.html Dismissed Show dismissed Hide dismissed
@pnu-s pnu-s marked this pull request as ready for review January 17, 2024 08:52
@pnu-s pnu-s changed the title ci: Run djhtml style: Indent HTML templates with djhtml Jan 17, 2024
@pnu-s
Copy link
Member Author

pnu-s commented Jan 17, 2024

I'll merge as is, despite some unfixed warnings from CodeQL because they were not added in this PR.

@pnu-s pnu-s merged commit da5e08a into v1 Jan 17, 2024
7 of 8 checks passed
@pnu-s pnu-s deleted the djhtml branch January 17, 2024 09:00
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.

1 participant