Prior to this commit, if our community name included a `"` we would encounter a parse error. Using the [j][1] which is a terse alias for [escape_javascript][2], we will now be escaping those characters that cause grief in some of our parsings. I believe there is a larger audit that needs to occur regarding all `data-` renderings. Hopefully this will catch a flakey test. Closes #16440 [1]:https://api.rubyonrails.org/classes/ActionView/Helpers/JavaScriptHelper.html#method-i-j [2]:https://api.rubyonrails.org/classes/ActionView/Helpers/JavaScriptHelper.html#method-i-escape_javascript |
||
|---|---|---|
| .. | ||
| _task_card.html.erb | ||
| show.html.erb | ||