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

Don't save illegal html in captions #1453

Open
eessex opened this issue Nov 20, 2017 · 0 comments
Open

Don't save illegal html in captions #1453

eessex opened this issue Nov 20, 2017 · 0 comments

Comments

@eessex
Copy link
Contributor

eessex commented Nov 20, 2017

In rich_text/caption Draft should:

  • double check that a caption is wrapped in

    tags on save.

  • strip <i> in favor of <em>
  • remove empty spans

(this already exists on rich_text, but looks like it isn't getting run on the captions on save or paste)

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