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
Unescape HTML-escaped apostrophes in regression test artefacts
Since #2098 & #2112, apostrophes rendered via `SmartAnswer::ErbRenderer` have
not been HTML-escaped. Now that we are rendering question content via this
renderer, we need to update the regression test artefacts for question pages
accordingly.
I ran the following commands to do this:
$ find test/artefacts/calculate-your-child-maintenance -name '*.html' | xargs sed -i .bak "s/'/'/g"
$ git clean -fd test/artefacts/calculate-your-child-maintenance/**/*.bak
Copy file name to clipboardexpand all lines: test/artefacts/calculate-your-child-maintenance/pay.html
+1-1
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ <h2>
37
37
<divclass="question-body">
38
38
39
39
40
-
<pclass="hint">Enter the total number of children - including children that you have family based arrangements for. They will be included in the calculation and you'll need to supply information about them when arranging Child Maintenance.</p>
40
+
<pclass="hint">Enter the total number of children - including children that you have family based arrangements for. They will be included in the calculation and you'll need to supply information about them when arranging Child Maintenance.</p>
0 commit comments