fix: remove quotation marks from code tag text (#38316)
This commit is contained in:
@ -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));
|
||||
```
|
||||
|
||||
|
@ -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');
|
||||
|
||||
```
|
||||
|
Reference in New Issue
Block a user