fix(curriculum): allow optional final css semi-colon (#43545)
* fix for issue: #43536, final css property optional semi-colon * accidentally left a "y" at the end of the sentence * replaced regex with CSSHelp * removed trailing white-spacepull/43548/head
parent
972c10a33d
commit
77b8405a31
|
@ -22,7 +22,7 @@ Center the `div` on the page by adding a `margin` property with a value of `auto
|
||||||
The `div` should have a `margin` set to `auto`.
|
The `div` should have a `margin` set to `auto`.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
assert(code.match(/margin:\s*?auto;/g));
|
assert(new __helpers.CSSHelp(document).getStyle('div')?.margin === 'auto');
|
||||||
```
|
```
|
||||||
|
|
||||||
# --seed--
|
# --seed--
|
||||||
|
|
Loading…
Reference in New Issue