You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 26, 2026. It is now read-only.
Using the latest version of the package, it seems that linear-gradient in combination with url(), set in the background inside an inline style property will break the background.
Steps to reproduce :
Use CSS property & value : background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(any_url) no-repeat center center; in any html tag
Pass it to the sanitize function
The selected tag will have its background property entirely removed.
Using the latest version of the package, it seems that linear-gradient in combination with url(), set in the background inside an inline style property will break the background.
Steps to reproduce :
background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(any_url) no-repeat center center;in any html tagAre there any workaround ?