-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Labels
bugIssue reports a bugIssue reports a bugresolvedIssue is resolved, yet unreleased if openIssue is resolved, yet unreleased if open🏆 perfectIssue is of outstanding qualityIssue is of outstanding quality
Description
Context
No response
Bug description
Images: Light and Dark Mode does not work with Privacy Plugin.
When using external images, and with the Privacy plugin enabled. The #only-light and #only-dark does not work. Instead, both images will be shown regardless of the current scheme.
Related links
- https://squidfunk.github.io/mkdocs-material/reference/images/?h=images#light-and-dark-mode
- https://squidfunk.github.io/mkdocs-material/plugins/privacy/?h=privacy
Reproduction
9.4.5+insiders.4.42.1-images-and-privacy-plugin.zip
Steps to reproduce
- Enable
attr_listandmd_in_htmlundermarkdown_extensions - Enable
privacyunderplugins - Enable both
defaultandslatecolor schemes. - Embed two images with
#only-lightand#only-darkappends. (The images comes externally of the repo)
With privacy enabled, both images will be shown. Without it, the expected behavior works.
Browser
Firefox
Before submitting
- I have read and followed the bug reporting guidelines.
- I have attached links to the documentation, and possibly related issues and discussions.
- I assure that I have removed all customizations before submitting this bug report.
- I have attached a .zip file with a minimal reproduction.
Metadata
Metadata
Assignees
Labels
bugIssue reports a bugIssue reports a bugresolvedIssue is resolved, yet unreleased if openIssue is resolved, yet unreleased if open🏆 perfectIssue is of outstanding qualityIssue is of outstanding quality