Skip to content

events in scripts as reference and not render it as string#203

Open
eduardocque wants to merge 1 commit intostaylor:mainfrom
eduardocque:script-events-fix
Open

events in scripts as reference and not render it as string#203
eduardocque wants to merge 1 commit intostaylor:mainfrom
eduardocque:script-events-fix

Conversation

@eduardocque
Copy link

based on #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

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant