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

Advanced background: Exclude Marpit reserved image keywords from <figcaption> correctly #373

Merged
merged 3 commits into from
Sep 11, 2023

Conversation

yhatt
Copy link
Member

@yhatt yhatt commented Sep 11, 2023

Retry to #368 and #371.

The unit test for the background image plugin about<figcaption> added at #371 was actually not working on Marpit class. I added an integrated test to confirm keywords exclusion correctly.

A previous way was actually rendered Marpit reserved keywords in
`<figcaption>`. A new logic is taking much simpler string concat while
parsing.
@yhatt yhatt changed the title Advanced background: Exclude Marpit reserved image keywords from `<figcaption> correctly Advanced background: Exclude Marpit reserved image keywords from <figcaption> correctly Sep 11, 2023
@yhatt yhatt merged commit b2afbf9 into main Sep 11, 2023
5 checks passed
@yhatt yhatt deleted the advanced-bg-a11y-reject-keywords branch September 11, 2023 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant