* fix: recognize background-image as correct (#42738) The page mentioned in #42738 before would not accept background-image and background, now it should. * fix: CI build error Co-authored-by: Ilenia <nethleen@gmail.com> Co-authored-by: Ilenia <nethleen@gmail.com>
This commit is contained in:
@ -22,7 +22,7 @@ Your `body` element should have a `background` property set to a `url()` with th
|
|||||||
```js
|
```js
|
||||||
assert(
|
assert(
|
||||||
code.match(
|
code.match(
|
||||||
/background:\s*?url\(\s*("|'|)https:\/\/cdn-media-1\.freecodecamp\.org\/imgr\/MJAkxbh\.png\1\s*\)/gi
|
/background(-image)?:\s*?url\(\s*("|'|)https:\/\/cdn-media-1\.freecodecamp\.org\/imgr\/MJAkxbh\.png\2\s*\)/gi
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user