Escaping and sanitizing SVGs in metabox textarea
Question
I want to include inline SVGs in a metabox textarea.
That’s easy. What’s killing me is how do I sanitize the textarea before saving the postmeta, and how do I escape it?
Halp?
Thanks!
0
1 month
0 Answers
7 views
0
Leave an answer
You must login or register to add a new answer .