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

Escape special characters in suggested chant data #1561

Merged
merged 1 commit into from
Jul 16, 2024

Conversation

lucasmarchd01
Copy link
Contributor

This PR addresses an issue where the 'onclick' event for suggested chant buttons was not being triggered due to unescaped special characters in the data. By using the escapejs filter, we ensure that special characters in the strings passed to the JavaScript function are properly escaped, preventing any JavaScript errors.

Fixes #1554

@lucasmarchd01 lucasmarchd01 requested a review from dchiller July 15, 2024 15:43
@lucasmarchd01 lucasmarchd01 merged commit adc2d1c into DDMAL:develop Jul 16, 2024
1 check passed
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.

some chant suggestions don't autofill
2 participants