Skip to content

Commit 621c937

Browse files
floehopperchrisroos
authored andcommitted
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
1 parent 588a3c2 commit 621c937

File tree

1 file changed

+1
-1
lines changed
  • test/artefacts/calculate-your-child-maintenance

1 file changed

+1
-1
lines changed

test/artefacts/calculate-your-child-maintenance/pay.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ <h2>
3737
<div class="question-body">
3838

3939

40-
<p class="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&#39;ll need to supply information about them when arranging Child Maintenance.</p>
40+
<p class="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>
4141

4242
<div class="">
4343

0 commit comments

Comments
 (0)