diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/convert-html-entities.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/convert-html-entities.english.md index f2b6c3869b..b8114035e7 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/convert-html-entities.english.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/convert-html-entities.english.md @@ -21,20 +21,20 @@ Remember to use convertHTML("Dolce & Gabbana") should return Dolce & Gabbana.'); - - text: convertHTML("Hamburgers < Pizza < Tacos") should return Hamburgers < Pizza < Tacos. - testString: assert.match(convertHTML("Hamburgers < Pizza < Tacos"), /Hamburgers < Pizza < Tacos/, 'convertHTML("Hamburgers < Pizza < Tacos") should return Hamburgers < Pizza < Tacos.'); - - text: convertHTML("Sixty > twelve") should return Sixty > twelve. - testString: assert.match(convertHTML("Sixty > twelve"), /Sixty > twelve/, 'convertHTML("Sixty > twelve") should return Sixty > twelve.'); - - text: convertHTML('Stuff in "quotation marks"') should return Stuff in "quotation marks". - testString: assert.match(convertHTML('Stuff in "quotation marks"'), /Stuff in "quotation marks"/, 'convertHTML('Stuff in "quotation marks"') should return Stuff in "quotation marks".'); - - text: convertHTML("Schindler's List") should return Schindler's List. - testString: assert.match(convertHTML("Schindler's List"), /Schindler's List/, 'convertHTML("Schindler's List") should return Schindler's List.'); - - text: convertHTML("<>") should return <>. - testString: assert.match(convertHTML('<>'), /<>/, 'convertHTML("<>") should return <>.'); + - text: convertHTML("Dolce & Gabbana") should return Dolce &amp; Gabbana. + testString: assert.match(convertHTML("Dolce & Gabbana"), /Dolce & Gabbana/); + - text: convertHTML("Hamburgers < Pizza < Tacos") should return Hamburgers &lt; Pizza &lt; Tacos. + testString: assert.match(convertHTML("Hamburgers < Pizza < Tacos"), /Hamburgers < Pizza < Tacos/); + - text: convertHTML("Sixty > twelve") should return Sixty &gt; twelve. + testString: assert.match(convertHTML("Sixty > twelve"), /Sixty > twelve/); + - text: convertHTML('Stuff in "quotation marks"') should return Stuff in &quot;quotation marks&quot;. + testString: assert.match(convertHTML('Stuff in "quotation marks"'), /Stuff in "quotation marks"/); + - text: convertHTML("Schindler's List") should return Schindler&apos;s List. + testString: assert.match(convertHTML("Schindler's List"), /Schindler's List/); + - text: convertHTML("<>") should return &lt;&gt;. + testString: assert.match(convertHTML('<>'), /<>/); - text: convertHTML("abc") should return abc. - testString: assert.strictEqual(convertHTML('abc'), 'abc', 'convertHTML("abc") should return abc.'); + testString: assert.strictEqual(convertHTML('abc'), 'abc'); ```