-
Notifications
You must be signed in to change notification settings - Fork 20
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
Notification is escaped but allows anchor tags #39
Notification is escaped but allows anchor tags #39
Conversation
I see the whitespace issue. Will fix. |
@ryanshoover ready for review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we allow more tags in notices? Since a notice could theoretically be anything, make this a bit more future proof?
<em>
<strong>
<span>
Or would this unnecessarily bloat the code?
I lean toward future proofing personally
229ef3d
to
bee3d24
Compare
@ryanshoover Added support for those tags. |
bee3d24
to
5fb8ba6
Compare
4094c96
to
5fb8ba6
Compare
This looks good to me. |
Fix for #36. Uses
wp_kses
: https://codex.wordpress.org/Function_Reference/wp_kses