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

Add TinyMCE content sanitization #109

Open
cadie opened this issue Mar 10, 2022 · 0 comments
Open

Add TinyMCE content sanitization #109

cadie opened this issue Mar 10, 2022 · 0 comments
Assignees

Comments

@cadie
Copy link
Contributor

cadie commented Mar 10, 2022

Consider adding in content sanitization in order to strip out empty tags and ensure that pasted in <i>s are corrected to <em>s, for example.

See https://github.com/UCF/Today-Utilities/blob/master/includes/today-utilities-admin.php#L278-L296

We also might want to consider adding in other parts of that function, such as the Outlook safelink replacement logic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants