Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exempt more latex images from re-inversion in dark mode #923

Merged
merged 1 commit into from
Nov 18, 2022

Conversation

Jaifroid
Copy link
Member

Fixes #922. The added code exempts images with a class name beginning with latex. There are a number of latex-prefixed styles in the artofproblemsolving ZIMs such as .latex and .latexcentered, so we match any image style beginning with latex (class^="latex").

@Jaifroid Jaifroid added this to the v3.7 milestone Nov 16, 2022
@Jaifroid Jaifroid self-assigned this Nov 16, 2022
@Jaifroid
Copy link
Member Author

image

@Jaifroid
Copy link
Member Author

Tests complete.

@Jaifroid Jaifroid merged commit dc30d0e into master Nov 18, 2022
@Jaifroid Jaifroid deleted the Exempt-latex-images-from-re-inversion-in-dark-mode branch November 18, 2022 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Equations in dark mode not inverted in artofproblemsolving ZIM
1 participant