react-helmet-async
react-helmet-async copied to clipboard
events in scripts as reference and not render it as string
based on https://github.com/staylor/react-helmet-async/issues/202 one of the issues seems to be that we are trying to set onload as string using setAttribute and based on https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttribute#value will save it as string making this can lose the context in some cases or triggering the wrong references
this probably is not perfect but if require any change, let me know