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

Remove <figure> tag #8869

Closed
isuruhera opened this issue Jan 19, 2021 · 3 comments
Closed

Remove <figure> tag #8869

isuruhera opened this issue Jan 19, 2021 · 3 comments
Labels
resolution:invalid This issue is invalid (e.g. reports a non-existent bug or a by-design behavior). type:bug This issue reports a buggy (incorrect) behavior.

Comments

@isuruhera
Copy link

isuruhera commented Jan 19, 2021

Is there any way to remove/ disable <figure> tag which wraps around images /tables ?

@isuruhera isuruhera added the type:bug This issue reports a buggy (incorrect) behavior. label Jan 19, 2021
@Reinmar
Copy link
Member

Reinmar commented Jan 20, 2021

No, there's no simple way to do that. In fact, taken that an image may have a caption, the figure element is quite important there. I'd recommend doing some post-processing on the content – stripping a single element should be easy.

@Reinmar Reinmar closed this as completed Jan 20, 2021
@Reinmar Reinmar added the resolution:invalid This issue is invalid (e.g. reports a non-existent bug or a by-design behavior). label Jan 20, 2021
@rawthriver
Copy link

+1. Bad idea to hardcode figure table wrapper.

@josephj
Copy link

josephj commented Sep 26, 2023

I am looking into this since the Outlook web mail will replace the figure with p :( It will be nice if there are customisable settings.

CleanShot 2023-09-26 at 16 25 12@2x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
resolution:invalid This issue is invalid (e.g. reports a non-existent bug or a by-design behavior). type:bug This issue reports a buggy (incorrect) behavior.
Projects
None yet
Development

No branches or pull requests

4 participants