Commit b3bc340
committed
For the
This is to fix an issue reported by @somiaj in openwebwork#1322 in which a
apostrophe in the description causes invalid javascript to be generated.
This uses `Mojo::JSON::encode_json` to encode the text. That is the
same that is used before.plots.pl macro HTML encode the aria description.1 parent 15c2531 commit b3bc340
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
499 | 499 | | |
500 | 500 | | |
501 | 501 | | |
502 | | - | |
| 502 | + | |
503 | 503 | | |
504 | 504 | | |
505 | 505 | | |
| |||
0 commit comments