fix: Update test for wrapping strong tag around text to include periods at the end (#38305)
This commit is contained in:
@ -26,8 +26,7 @@ tests:
|
|||||||
- text: The <code>strong</code> tag should be inside the <code>p</code> tag.
|
- text: The <code>strong</code> tag should be inside the <code>p</code> tag.
|
||||||
testString: assert($('p').children('strong').length == 1);
|
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 "Stanford University".
|
||||||
testString: assert($('strong').text().match(/^Stanford University$/gi));
|
testString: assert($('strong').text().match(/^Stanford University\.?$/gi));
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
Reference in New Issue
Block a user