fix: remove quotation marks from code tag text (#38316)

This commit is contained in:
Shaun Hamilton
2020-08-31 04:53:09 +01:00
committed by GitHub
parent e0a062a3e7
commit fe3f0b2ac4
8 changed files with 12 additions and 12 deletions

View File

@ -26,7 +26,7 @@ tests:
testString: assert($('strong').length == 1);
- text: The <code>strong</code> tag should be inside the <code>p</code> tag.
testString: assert($('p').children('strong').length == 1);
- text: The <code>strong</code> tag should wrap around the words "Stanford University".
- text: The <code>strong</code> tag should wrap around the words <code>Stanford University</code>.
testString: assert($('strong').text().match(/^Stanford University\.?$/gi));
```

View File

@ -25,7 +25,7 @@ Wrap the <code>u</code> tag only around the text "Ph.D. students".
tests:
- text: Your code should add a <code>u</code> tag to the markup.
testString: assert($('u').length === 1);
- text: The <code>u</code> tag should wrap around the text "Ph.D. students".
- text: The <code>u</code> tag should wrap around the text <code>Ph.D. students</code>.
testString: assert($('u').text() === 'Ph.D. students');
```