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
kses does not allow inline styles that have ( in them. The current implementation of the cover images has background-image: url(...) which gets stripped out by kses when a non-admin users saves it. When the post is reloaded, the block is broken. The published post does not contain the image.
#9954 adds tests for kses behaviour which showed this.
To Reproduce
Log in as an author.
Add a cover image.
Publish the post.
View the published post. The image is missing.
Expected behavior
The image should appear.
The text was updated successfully, but these errors were encountered:
This is definitely something which needs to be resolved, but is tracked already at #2539 (although previously confusingly titled as targeting multisite, but it's the same issue).
Describe the bug
kses
does not allow inline styles that have(
in them. The current implementation of the cover images hasbackground-image: url(...)
which gets stripped out bykses
when a non-admin users saves it. When the post is reloaded, the block is broken. The published post does not contain the image.#9954 adds tests for
kses
behaviour which showed this.To Reproduce
Expected behavior
The image should appear.
The text was updated successfully, but these errors were encountered: