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

Prevent PlainTableOutput from interfering with other features caption downcast converters #11407

Merged

Conversation

dawidurbanski
Copy link
Contributor

Suggested merge commit message (convention)

Fix (table): Prevent plain table output converter from interfering with other features caption converters. Closes #11394.


Additional information

After some testing we noticed that the new PlainTableOutput plugin converter for downcasting captions was doing a bit too much. For tables it was correctly changing the output from <figcaption> to <caption> element, but for all the other elements it was falling back to the <figcaption> element. This was preventing other converters to alter this behaviour on their own. Hence this change.

@dawidurbanski dawidurbanski changed the base branch from master to release March 4, 2022 09:18
@dawidurbanski dawidurbanski requested a review from Reinmar March 4, 2022 09:19
@dawidurbanski dawidurbanski changed the title Ck/11394 plain table output image caption override Prevent PlainTableOutput from interfering with other features caption downcast converters Mar 4, 2022
@dawidurbanski dawidurbanski requested a review from arkflpc March 7, 2022 14:02
@arkflpc arkflpc merged commit e102d21 into release Mar 7, 2022
@arkflpc arkflpc deleted the ck/11394-plain-table-output-image-caption-override branch March 7, 2022 14:15
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.

[Plain table output]: The PlainTableOutput overrides downcast converters of other features
2 participants