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

Alt tag is wrong when using html captions #369

Open
zackdotcomputer opened this issue Apr 27, 2020 · 1 comment
Open

Alt tag is wrong when using html captions #369

zackdotcomputer opened this issue Apr 27, 2020 · 1 comment

Comments

@zackdotcomputer
Copy link
Contributor

Steps to reproduce the behavior:
Use the feature supporting html string captions

Expected behavior:
The alt tag should either be the string-only contents of the html caption or should be settable via an additional props value.

Actual behavior:
The alt tag is the raw HTML markup and there is no way to fix or override.

@zackdotcomputer
Copy link
Contributor Author

Ooooh I'm trying to fix this - is the way to do this to override the Formatters? I might still open a PR to add this as a supported prop.

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

No branches or pull requests

1 participant