Skip to content

Conversation

@dscataglini
Copy link

@dscataglini dscataglini commented Jul 30, 2024

Currently it's not possible to pass html_options to the javascript_tag.
So the following is not possible

opal_tag nonce: true do
  # some javascript
end

This PR fixes that and provides an identical api to javascript_tag so it behaves as you would think it would

@dscataglini dscataglini marked this pull request as draft July 30, 2024 18:46
@dscataglini dscataglini marked this pull request as ready for review August 1, 2024 17:28
@hmdne hmdne merged commit 15191e6 into opal:master Dec 8, 2024
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.

4 participants