Skip undefined attribute in Head (#9856)
* Fix #8655, skip rendering meta tags with undefined props * Filter all tags, not just meta * Only render defined props * Remove filtering of undefined strings Co-Authored-By:Tim Neutkens <tim@timneutkens.nl> * Replace Object.entries * Remove filtering code * Simplify code * Add test * Add tests for undefined head prop value and tweak check * Update to strip undefined prop values to match react * Update head.js Co-authored-by:
Tim Neutkens <tim@timneutkens.nl> Co-authored-by:
Joe Haddad <timer150@gmail.com> Co-authored-by:
JJ Kasper <jj@jjsweb.site>
Showing
Please
register
or
sign in
to comment