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.
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