You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#1004 didn't solve the issue with student answers not being escaped in the right way. Now answers are being escaped that shouldn't be.
Use the problem posted in #990 (comment), and enter an answer like r<1,-4,3,0>+s<2,2,1,8>. If that is correct, then change the numbers so it is not. The html in the answer is now protected by the change in #1004, and so you see things like < instead of <.
Now, change the line in the problem that has Context("Matrix")->flags->set(requireConstantEntries => 1); to Context("Matrix")->flags->set(requireConstantVectors => 1); (since that is what the flag was later changed to in #990). Then enter <r,-4r,3r,0>+s<2,2,18> where that is actually the correct answer for your seed, but with r in the entries of the first vector. Of course this shows up correctly.
Now if you revert #1004, then the first example is displayed correctly, but the second is not.
The text was updated successfully, but these errors were encountered:
#1004 didn't solve the issue with student answers not being escaped in the right way. Now answers are being escaped that shouldn't be.
Use the problem posted in #990 (comment), and enter an answer like
r<1,-4,3,0>+s<2,2,1,8>
. If that is correct, then change the numbers so it is not. The html in the answer is now protected by the change in #1004, and so you see things like<
instead of<
.Now, change the line in the problem that has
Context("Matrix")->flags->set(requireConstantEntries => 1);
toContext("Matrix")->flags->set(requireConstantVectors => 1);
(since that is what the flag was later changed to in #990). Then enter<r,-4r,3r,0>+s<2,2,18>
where that is actually the correct answer for your seed, but withr
in the entries of the first vector. Of course this shows up correctly.Now if you revert #1004, then the first example is displayed correctly, but the second is not.
The text was updated successfully, but these errors were encountered: